<html><head><meta charset="UTF-8" /><script>var $gwt_version = "2.5.0";var $wnd = parent;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = 'ABA5251AA57980BE29B5B1956A00CD62';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null,$sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;$stats && $stats({moduleName:'jsme',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalStart'});</script></head><body><script><!--
var j="",aa="\n",ca=" ",fa='"',ga='" ',ha='" height="',ia='" stroke="',ka='" x2="',la='" y1="',ma='" y2="',na='" y="',oa='">',pa="#",ra="$MOL\n",sa="&",ta="&amp;",ua="&gt;",va="&lt;",wa="&nbsp;",ya="'",za="(",Aa=")",Ba="*",Ca="+",Da=",",Ea=", ",Fa="-",Ga="--",Ha="-C#C-Me",Ia="-C#CH",Ja="-C#N",Ma="-C(=O)N",Na="-C(=O)OH",Oa="-C(=O)OMe",Pa="-CCl3",Qa="-CF3",Ra="-CMe3",Sa="-NC=O",Ua="-NH-SO2-Me",Va="-NMe2",Wa="-NO2",Xa="-OC(=O)Me",Ya="-SO2-NH2",Za="-SO3H",$a="-selected",bb=".",cb="/",db="//",fb="/>",
gb="0",hb="0px",ib="1",jb="100%",kb="1em",lb="1ex",nb="1in",ob="1px",pb="2",qb="3",rb=":",sb=": ",tb=";",ub="<",vb='<line x1="',wb="=",xb=">",yb="?",Ab="@",Eb="A",Fb="After",Gb="Any",Ib="Aromatic",Jb="B",Kb="Before",Lb="Br",Mb="C",Nb="CENTER",Ob="CSS1Compat",Pb="Center",Qb="Cl",Rb="Class$",Sb="Copy as ",Tb="DOMMouseScroll",Vb="Dialog",Wb="END",Xb="East",Yb="F",Zb="First",$b='For input string: "',ac="GBVTBU-BB",bc="H",cc="HIDDEN",dc="Helvetica",ec="I",fc="Incorrect URL: ",hc="Internal index set to null.",
lc="JUSTIFY",mc="JavaScript",nc="LEFT",oc="MOL n. ",pc="N",qc="NA",rc="NONE",sc="No more molecules in mol stack",tc="Nonring",uc="North",vc="Null widget handle. If you are creating a composite, ensure that initWidget() has been called.",wc="O",xc="ONE_WAY_CORNER",yc="P",Bc="R",Cc="R1",Dc="R2",Hc="R3",Ic="RIGHT",Jc="ROLL_DOWN",Kc="Reset",Lc="Resize-",Mc="Ring",Nc="S",Oc="SMILES",Pc="Se",Qc="Si",Rc="South",Yc="Style names cannot be empty",Zc="West",$c="X",ad="[",bd="\\",cd="]",dd="__uiObjectID",ed=
"a",fd="absolute",gd="alert",hd="alertdialog",id="align",jd="antialias",kd="application",ld="article",md="auto",nd="backgroundColor",od="banner",pd="blur",td="bolder",vd="border",wd="bottom",xd="button",yd="cellPadding",zd="cellSpacing",Ad="center",Bd="change",Cd="checkbox",Dd="className",Ed="click",Fd="click marked atom to delete mark",Gd="col",Hd="colSpan",Id="columnheader",Md="combobox",Nd="complementary",Td="contentinfo",Ud="contextmenu",Vd="cssFloat",Wd="dblclick",Xd="definition",Yd="dialog",
Zd="dir",$d="directory",ae="display",be="div",ce="document",de="dragdrop-handle",ee="dragdrop-selected",fe="dragexit",ge="dragleave",he="filter",ie="float",je="focus",ke="fontFamily",le="fontSize",me="fontStyle",ne="fontWeight",oe="form",pe="function",qe="g",re="gecko1_8",se="gesturechange",ue="gestureend",ve="gesturestart",we="google",xe="grid",ye="gridcell",ze="group",Ge="gwt-MenuBar",He="gwt-MenuBarPopup",Ie="heading",Je="height",Ke="hidden",Le="html",Me="img",Ne="italic",Oe="java.vm.name",Pe=
"keydown",Qe="keypress",Re="keyup",Se="left",Te="link",Ue="list",Ve="listbox",We="listitem",Xe="load",Ye="log",$e="ltr",af="main",bf="marquee",cf="math",df="menu",ef="menuPopup",ff="menubar",mf="menuitem",nf="menuitemcheckbox",of="menuitemradio",pf="middle",qf="mousedown",rf="mousemove",sf="mouseout",tf="mouseover",uf="mouseup",vf="mousewheel",wf="msie",xf="multipart",yf="n",zf="navigation",Af="none",Bf="noreaction",Cf="note",Df="nowrap",Ef="null",Ff="number",Gf="offsetHeight",Hf="offsetWidth",If=
"opera",Jf="option",Kf="overflow",Lf="popupContent",Mf="position",Nf="presentation",Of="progressbar",Pf="pt",Qf="px",Sf="px, ",Tf="px;",Uf="radio",Vf="radiogroup",Wf="reaction",Xf="rect(0px, 0px, 0px, 0px)",Yf="region",Zf="rgb(",$f="right",ag="role",bg="row",cg="rowgroup",dg="rowheader",eg="rtl",fg="s",hg="scrollbar",ig="se",jg="search",kg="separator",lg="serif",mg="slider",ng="span",og="spinbutton",pg="status",qg="subMenuIcon-selected",rg="tab",sg="table",tg="tablist",ug="tabpanel",vg="tbody",wg=
"td",xg="text",yg="textbox",zg="timer",Ag="toolbar",Bg="tooltip",Cg="top",Dg="touchcancel",Eg="touchend",Fg="touchmove",Gg="touchstart",Hg="tr",Ig="tree",Jg="treegrid",Kg="treeitem",Lg="true",Mg="value",Ng="verticalAlign",Og="visibility",Pg="visible",Qg="whiteSpace",Rg="width",Sg="x",Tg="zIndex",Ug="|",_,Vg={l:0,m:0,h:0},Wg={l:1,m:0,h:0},Xg={l:2,m:0,h:0},Yg={l:3,m:0,h:0},Zg={l:4,m:0,h:0},$g={},ah={11:1,107:1,110:1,112:1},bh={48:1},ch={123:1},dh={46:1,48:1,57:1,61:1,69:1,71:1,72:1,80:1,82:1},eh={107:1,
113:1,118:1,120:1},fh={107:1,113:1,120:1},gh={47:1,83:1},hh={53:1,107:1},ih={56:1},jh={12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,46:1,48:1,57:1,63:1,64:1,65:1,66:1,69:1,72:1,76:1,77:1,78:1,79:1,80:1,82:1},kh={2:1},lh={55:1},mh={107:1,122:1},k={107:1,109:1},uh={84:1,107:1,113:1,118:1,120:1},vh={12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,
29:1,30:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,46:1,48:1,57:1,64:1,66:1,69:1,70:1,72:1,76:1,77:1,78:1,79:1,80:1,82:1},wh={81:1,107:1,110:1,112:1},xh={124:1},yh={108:1},zh={7:1,8:1,107:1,110:1,112:1},Ah={107:1,109:1,123:1},Bh={12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,46:1,48:1,57:1,63:1,64:1,65:1,66:1,68:1,69:1,72:1,76:1,77:1,78:1,79:1,80:1,82:1},
r={106:1,107:1,109:1},Ch={46:1,48:1,57:1,69:1,70:1,72:1,80:1,82:1},Dh={88:1,89:1,93:1,104:1,107:1},Eh={107:1,109:1,122:1},Fh={107:1,113:1,114:1,118:1,120:1},Gh={46:1,48:1,57:1,69:1,72:1,80:1,82:1},Hh={93:1,107:1},Ih={88:1,93:1,104:1,107:1},Jh={122:1},Kh={107:1},Lh={6:1,8:1,107:1,110:1,112:1},Mh={45:1},Nh={8:1,10:1,107:1,110:1,112:1},Oh={69:1,80:1},Ph={46:1,48:1,57:1,69:1,70:1,72:1,75:1,80:1,82:1,130:1,137:1},Qh={88:1,89:1,93:1,97:1,104:1,107:1},Rh={46:1,48:1,57:1,62:1,69:1,70:1,72:1,80:1,82:1},Sh=
{12:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,46:1,48:1,57:1,69:1,70:1,72:1,80:1,82:1},Th={8:1,9:1,107:1,110:1,112:1},Uh={126:1};function t(a,b,c){var d=$g[a];d&&!d.cZ?_=d.prototype:(!d&&(d=$g[a]=function(){}),_=d.prototype=0>b?{}:new $g[b],_.cM=c);for(var e=3;e<arguments.length;++e)arguments[e].prototype=_;d.cZ&&(_.cZ=d.cZ,d.cZ=null)}function u(){}t(1,-1,{});_.eQ=function(a){return this===a};_.gC=function(){return this.cZ};_.hC=function(){return Vh(this)};
_.tS=function(){var a=this.cZ.e+Ab,b;b=this.hC();var c,d,e;c=v(Wh,k,-1,8,1);d=(Xh(),Yh);e=7;if(0<=b)for(;15<b;)c[e--]=d[b&15],b>>=4;else for(;0<e;)c[e--]=d[b&15],b>>=4;c[e]=d[b&15];b=c.slice(e,8);b=String.fromCharCode.apply(null,b);return a+b};_.toString=function(){return this.tS()};_.tM=u;function Zh(){Zh=u;$h=new ai}function bi(a){for(var b,a=new ci(a.k.n);a.c<a.e.me();)b=di(a),ei(b.Wc(),ee,!1),fi(a)}
function gi(a,b,c){var a=a.o,d;try{d=new hi(b,c.Ac(a),c.Dc(a),(c.Bc(a),c.Cc(a))),x(a.d,c,d)}catch(e){e=ii(e);if(y(e,113))throw new ji("dragHandle must implement HasMouseDownHandlers, HasMouseUpHandlers, HasMouseMoveHandlers and HasMouseOutHandlers to be draggable",e);throw e;}ei(b.Wc(),ac,!0);ei(c.Wc(),de,!0);x($h,b,c)}function ki(a,b){var c;c=li($h,b);var d;d=li(a.o.d,c);if(!d)throw new mi("dragHandle was not draggable");ni(d.c.b);ni(d.e.b);ni(d.d.b);ei(b.Wc(),ac,!1);ei(c.Wc(),de,!1)}
function oi(a){var b;a.p=!1;for(a=new ci(a.k.n);a.c<a.e.me();)b=di(a),ei(b.Wc(),ee,!1),fi(a)}function pi(a,b){qi(a.k.n,b)?ei(b.Wc(),ee,!1):a.p?(ri(a.k.n,b),ei(b.Wc(),ee,!0)):(si(a.k.n),ri(a.k.n,b))}function ti(a){this.i=a;this.k=new ui(this);this.o=new vi(this.k)}t(3,1,{});_.bc=function(){wi(this.k.f,"dragdrop-dragging")};_.cc=function(){xi(this.k.f,"dragdrop-dragging")};_.i=null;_.j=!1;_.k=null;_.n=0;_.o=null;_.p=!1;var $h;function ui(a){this.n=new yi;this.e=a;this.b=a.i}t(4,1,{},ui);_.b=null;
_.c=0;_.d=0;_.e=null;_.f=null;_.i=null;_.j=0;_.k=0;function zi(a,b,c){a.c.j=b;a.c.k=c;a.c.c=b-a.i;a.c.d=c-a.j;a.c.e.dc()}function Ai(a,b){var c;c=Bi(a.d,Ci).b;b.b.ctrlKey||b.b.metaKey||bi(a.c.e);pi(a.c.e,c)}function Di(a){a.c.i=null;a.c.e.cc();Ei((Fi(),Gi(null)),a.b,0,0);var b=a.b.pb;Hi=b;Ii();Ji=b;a.e=2}
function vi(a){this.d=new ai;this.c=a;this.b=new Ki;Li(this.b,Mi(),Ni());A(this.b,this,(Oi(),Oi(),Pi));A(this.b,this,(Qi(),Qi(),Ri));a=this.b.pb.style;a[he]="alpha(opacity=0)";a.opacity=0;a.margin=0+(Si(),Qf);a.borderStyle=(Ti(),Af);a[nd]="blue"}t(5,1,{},vi);
_.ec=function(a){var b,c,d,e;c=a.i;d=Ui(a);e=Vi(a);b=Wi(a.b);if(!(3==this.e||2==this.e||1!=b)&&!Ci)Ci=c,this.c.f=Bi(this.d,Ci).b,!a.b.ctrlKey&&!a.b.metaKey&&-1==Xi(this.c.n,this.c.f)&&(bi(this.c.e),pi(this.c.e,this.c.f)),Yi(new Zi),this.f=!0,a.b.preventDefault(),this.i=d,this.j=e,b=new $i(Ci,null),Ci!=this.c.f&&(c=new $i(this.c.f,null),this.i+=b.b-c.b,this.j+=b.e-c.e),0==this.c.e.n&&!a.b.ctrlKey&&!a.b.metaKey&&(this.c.j=d+b.b,this.c.k=e+b.e,Di(this),1!=this.e&&zi(this,this.c.j,this.c.k))};
_.fc=function(a){var b,c,d;c=a.i;b=c.pb;d=aj(a,b);a=bj(a,b);if(3==this.e||2==this.e){if(c!=this.b)return;this.e=3}else if(this.f&&(cj(dj(d-this.i),dj(a-this.j))>=this.c.e.n?(ej(),-1!=Xi(this.c.n,this.c.f)||pi(this.c.e,this.c.f),c=new $i(Ci,null),this.c.j=this.i+c.b,this.c.k=this.j+c.e,d+=c.b,a+=c.e,Di(this)):fj.preventDefault()),1==this.e)return;fj.preventDefault();zi(this,d,a)};
_.gc=function(a){var b,c,d,e;d=a.i;b=d.pb;e=aj(a,b);b=bj(a,b);if(1==Wi(a.b)&&(this.f=!1,Ci))try{if(ej(),1==this.e)Ai(this,a);else{d!=this.b&&(c=new $i(d,null),e+=c.b,b+=c.e);try{zi(this,e,b),this.c.e.bc(),3!=this.e&&Ai(this,a)}finally{var f=this.b.pb;Hi&&f==Hi&&(Hi=null);Ii();f===Ji&&(Ji=null);gj(this.b);this.e=1;this.c.f=null}}}finally{Ci=null}};_.b=null;_.c=null;_.e=1;_.f=!1;_.i=0;_.j=0;var Ci=null;function Zi(){}t(6,1,ih,Zi);_.hc=function(){ej()};
function hi(a,b,c,d){this.b=a;this.c=b;this.d=d;this.e=c}t(7,1,{},hi);_.b=null;_.c=null;_.d=null;_.e=null;t(8,1,{});t(10,8,{});t(9,10,{});_.b=null;t(11,1,{});_.tS=function(){return za+this.b+Ea+this.e+Aa};function $i(a,b){!a||a==(Fi(),Gi(null))?this.i=this.f=0:(this.f=a.Sc()-hj(a.pb),this.i=a.Tc()-(a.pb.scrollTop||0));!b||b==(Fi(),Gi(null))?this.d=this.c=0:(this.c=ij(b.pb)+jj(b.pb),this.d=kj(b.pb)+lj(b.pb));this.b=this.f-this.c;this.e=this.i-this.d}t(14,11,{},$i);
_.tS=function(){return za+this.b+Ea+this.e+Aa};_.b=0;_.c=0;_.d=0;_.e=0;_.f=0;_.i=0;function ej(){try{$wnd.getSelection().removeAllRanges()}catch(a){throw Error("unselect exception:\n"+a);}}function jj(a){try{var b=$doc.defaultView.getComputedStyle(a,null).getPropertyValue("border-left-width");return-1==b.indexOf(Qf)?0:parseInt(b.substr(0,b.length-2))}catch(c){throw Error("getBorderLeft exception:\n"+c);}}
function lj(a){try{var b=$doc.defaultView.getComputedStyle(a,null).getPropertyValue("border-top-width");return-1==b.indexOf(Qf)?0:parseInt(b.substr(0,b.length-2))}catch(c){throw Error("getBorderTop: "+c);}}function mj(a){try{return a.clientHeight}catch(b){throw Error("getClientHeight exception:\n"+b);}}function nj(a){try{return a.clientWidth}catch(b){throw Error("getClientWidth exception:\n"+b);}}function oj(a){a.q&&(a.w=a.r,a.p=null,a.q=!1,a.r=!1,a.s&&(a.s.oc(),a.s=null),a.ic())}
function Cj(a,b){var c=Dj();oj(a);a.q=!0;a.r=!1;a.o=b;a.v=c;a.p=null;++a.t;Ej(a.n,Dj())}function Fj(a,b){var c,d;c=a.t;d=b>=a.v+a.o;if(a.r&&!d)return d=(b-a.v)/a.o,a.lc((1+Math.cos(3.141592653589793+3.141592653589793*d))/2),a.q&&a.t==c;if(!a.r&&b>=a.v&&(a.r=!0,a.kc(),!(a.q&&a.t==c)))return!1;return d?(a.q=!1,a.r=!1,a.jc(),!1):!0}t(17,1,{});_.ic=function(){this.w&&this.jc()};_.jc=function(){this.lc((1+Math.cos(6.283185307179586))/2)};_.kc=function(){this.lc((1+Math.cos(3.141592653589793))/2)};
_.o=-1;_.p=null;_.q=!1;_.r=!1;_.s=null;_.t=-1;_.u=null;_.v=-1;_.w=!1;function Ej(a,b){Fj(a.b,b)?a.b.s=a.b.u.nc(a.b.n,a.b.p):a.b.s=null}function Gj(a){this.b=a}t(18,1,{},Gj);_.mc=function(a){Ej(this,a)};_.b=null;t(19,1,{});t(20,1,kh);function Hj(){Hj=u;var a;(a=new Ij)&&(a.pc()||(a=new Jj));Kj=a}t(21,19,{});var Kj=null;function Lj(a,b){var c=Mj(function(){if(!b.b){var c=Dj();a.mc(c)}});$wnd.mozRequestAnimationFrame(c)}function Ij(){}t(22,21,{},Ij);_.pc=function(){return!!$wnd.mozRequestAnimationFrame};
_.nc=function(a){var b;b=new Nj;Lj(a,b);return b};function Nj(){}t(23,20,kh,Nj);_.oc=function(){this.b=!0};_.b=!1;function Jj(){this.b=new yi;this.c=new Oj(this)}t(24,21,{},Jj);_.pc=function(){return!0};_.nc=function(a){a=new Pj(this,a);ri(this.b,a);1==this.b.d&&Qj(this.c,16);return a};function Rj(){Rj=u;Sj=new yi;var a=new Tj;Uj();Vj(Wj?Wj:Wj=new Xj,a)}function Yj(a){a.c?$wnd.clearInterval(a.d):$wnd.clearTimeout(a.d);qi(Sj,a)}
function Qj(a,b){if(0>b)throw new Zj("must be non-negative");a.c?$wnd.clearInterval(a.d):$wnd.clearTimeout(a.d);qi(Sj,a);a.c=!1;a.d=$j(a,b);ri(Sj,a)}function ak(a){return $wnd.setInterval(Mj(function(){a.qc()}),100)}function $j(a,b){return $wnd.setTimeout(Mj(function(){a.qc()}),b)}t(26,1,{});_.qc=function(){this.c||qi(Sj,this);this.rc()};_.c=!1;_.d=0;var Sj;function Oj(a){Rj();this.b=a}t(25,26,{},Oj);
_.rc=function(){var a=this.b,b,c,d,e,f;b=v(bk,k,3,a.b.d,0);b=ck(a.b,b);c=new dk;for(e=0,f=b.length;e<f;++e)d=b[e],qi(a.b,d),Ej(d.b,c.b);0<a.b.d&&Qj(a.c,cj(5,16-(Dj()-c.b)))};_.b=null;function Pj(a,b){this.c=a;this.b=b}t(27,20,{2:1,3:1},Pj);_.oc=function(){var a=this.c;qi(a.b,this);0==a.b.d&&Yj(a.c)};_.b=null;_.c=null;t(29,1,{});_.b=null;function ek(){this.b=gd}t(28,29,{},ek);function fk(){this.b=hd}t(30,29,{},fk);function gk(){this.b=kd}t(31,29,{},gk);t(33,1,{});_.b=null;function hk(a){this.b=a}
t(32,33,{},hk);function ik(){this.b=ld}t(34,29,{},ik);function jk(){this.b=od}t(35,29,{},jk);function kk(){this.b=xd}t(36,29,{},kk);function lk(){this.b=Cd}t(37,29,{},lk);function mk(){this.b=Id}t(38,29,{},mk);function nk(){this.b=Md}t(39,29,{},nk);function ok(){this.b=Nd}t(40,29,{},ok);function pk(){this.b=Td}t(41,29,{},pk);function qk(){this.b=Xd}t(42,29,{},qk);function rk(){this.b=Yd}t(43,29,{},rk);function sk(){this.b=$d}t(44,29,{},sk);function tk(){this.b=ce}t(45,29,{},tk);
function uk(){this.b=oe}t(46,29,{},uk);function vk(){this.b=xe}t(47,29,{},vk);function wk(){this.b=ye}t(48,29,{},wk);function xk(){this.b=ze}t(49,29,{},xk);function yk(){this.b=Ie}t(50,29,{},yk);function zk(a){this.b=a.id}t(51,1,{4:1,5:1},zk);_.b=null;function Ak(){this.b=Me}t(52,29,{},Ak);function Bk(){this.b=Te}t(53,29,{},Bk);function Ck(){this.b=Ue}t(54,29,{},Ck);function Dk(){this.b=Ve}t(55,29,{},Dk);function Ek(){this.b=We}t(56,29,{},Ek);function Fk(){this.b=Ye}t(57,29,{},Fk);
function Gk(){this.b=af}t(58,29,{},Gk);function Hk(){this.b=bf}t(59,29,{},Hk);function Ik(){this.b=cf}t(60,29,{},Ik);function Jk(){this.b=df}t(61,29,{},Jk);function Kk(){this.b=ff}t(62,29,{},Kk);function Lk(){this.b=mf}t(63,29,{},Lk);function Mk(){this.b=nf}t(64,29,{},Mk);function Nk(){this.b=of}t(65,29,{},Nk);function Ok(){this.b=zf}t(66,29,{},Ok);function Pk(){this.b=Cf}t(67,29,{},Pk);function Qk(){this.b=Jf}t(68,29,{},Qk);function Rk(){this.b=Nf}t(69,29,{},Rk);t(70,33,{},function(a){this.b=a});
function Sk(){this.b=Of}t(71,29,{},Sk);function Tk(){Tk=u;Uk=new hk("aria-activedescendant")}var Uk;function Vk(){this.b=Uf}t(73,29,{},Vk);function Wk(){this.b=Vf}t(74,29,{},Wk);function Xk(){this.b=Yf}t(75,29,{},Xk);
function Yk(){Yk=u;Zk=new fk;$k=new ek;al=new gk;bl=new ik;cl=new jk;dl=new kk;fl=new lk;gl=new mk;hl=new nk;il=new ok;jl=new pk;kl=new qk;ll=new rk;ml=new sk;nl=new tk;ol=new uk;pl=new wk;ql=new vk;rl=new xk;sl=new yk;tl=new Ak;ul=new Bk;vl=new Dk;wl=new Ek;xl=new Ck;yl=new Fk;zl=new Gk;Al=new Hk;Bl=new Ik;Cl=new Kk;Dl=new Mk;El=new Nk;Fl=new Lk;Gl=new Jk;Hl=new Ok;Il=new Pk;Jl=new Qk;Kl=new Rk;Ll=new Sk;Ml=new Wk;Nl=new Vk;Ol=new Xk;Pl=new Ql;Rl=new Sl;Tl=new Ul;Vl=new Wl;Xl=new Yl;Zl=new $l;am=
new bm;cm=new dm;em=new fm;gm=new hm;im=new jm;km=new lm;mm=new nm;om=new pm;qm=new rm;sm=new tm;um=new vm;wm=new xm;ym=new zm;B=new ai;x(B,Yf,Ol);x(B,gd,$k);x(B,Yd,ll);x(B,hd,Zk);x(B,kd,al);x(B,ce,nl);x(B,ld,bl);x(B,od,cl);x(B,xd,dl);x(B,Cd,fl);x(B,ye,pl);x(B,Id,gl);x(B,ze,rl);x(B,Md,hl);x(B,Nd,il);x(B,Td,jl);x(B,Xd,kl);x(B,Ue,xl);x(B,$d,ml);x(B,oe,ol);x(B,xe,ql);x(B,Ie,sl);x(B,Me,tl);x(B,Te,ul);x(B,Ve,vl);x(B,We,wl);x(B,Ye,yl);x(B,af,zl);x(B,bf,Al);x(B,cf,Bl);x(B,df,Gl);x(B,ff,Cl);x(B,mf,Fl);x(B,
nf,Dl);x(B,Jf,Jl);x(B,Uf,Nl);x(B,of,El);x(B,zf,Hl);x(B,Cf,Il);x(B,Nf,Kl);x(B,Of,Ll);x(B,Vf,Ml);x(B,bg,Tl);x(B,cg,Pl);x(B,dg,Rl);x(B,jg,Xl);x(B,kg,Zl);x(B,hg,Vl);x(B,mg,am);x(B,og,cm);x(B,pg,em);x(B,rg,km);x(B,tg,gm);x(B,ug,im);x(B,yg,mm);x(B,zg,om);x(B,Ag,qm);x(B,Bg,sm);x(B,Ig,ym);x(B,Jg,um);x(B,Kg,wm)}var $k,Zk,al,bl,cl,dl,fl,gl,hl,il,jl,kl,ll,ml,nl,ol,ql,pl,rl,sl,tl,ul,xl,vl,wl,yl,zl,Al,Bl,Gl,Cl,Fl,Dl,El,Hl,Il,Jl,Kl,Ll,Nl,Ml,Ol,B,Tl,Pl,Rl,Vl,Xl,Zl,am,cm,em,km,gm,im,mm,om,qm,sm,ym,um,wm;
function Ul(){this.b=bg}t(77,29,{},Ul);function Ql(){this.b=cg}t(78,29,{},Ql);function Sl(){this.b=dg}t(79,29,{},Sl);function Wl(){this.b=hg}t(80,29,{},Wl);function Yl(){this.b=jg}t(81,29,{},Yl);function $l(){this.b=kg}t(82,29,{},$l);function bm(){this.b=mg}t(83,29,{},bm);function dm(){this.b=og}t(84,29,{},dm);function fm(){this.b=pg}t(85,29,{},fm);function lm(){this.b=rg}t(86,29,{},lm);function hm(){this.b=tg}t(87,29,{},hm);function jm(){this.b=ug}t(88,29,{},jm);function nm(){this.b=yg}
t(89,29,{},nm);function pm(){this.b=zg}t(90,29,{},pm);function rm(){this.b=Ag}t(91,29,{},rm);function tm(){this.b=Bg}t(92,29,{},tm);function zm(){this.b=Ig}t(93,29,{},zm);function vm(){this.b=Jg}t(94,29,{},vm);function xm(){this.b=Kg}t(95,29,{},xm);function dk(){this.b=Dj()}function Dj(){return(new Date).getTime()}t(96,1,{},dk);function Pm(a){var b,c,d;d=new Qm;for(c=a;c;)b=c.sc(),c!=a&&(d.b.b+="Caused by: "),Rm(d,c.cZ.e),d.b.b+=sb,Sm(d.b,null==b?"(No exception detail)":b),d.b.b+=aa,c=c.f}
function Tm(a){var b,c,d;c=v(Um,k,119,a.length,0);for(d=0,b=a.length;d<b;++d){if(!a[d])throw new Vm;c[d]=a[d]}}function Wm(a){var b;b=a.cZ.e;a=a.sc();return null!=a?b+sb+a:b}t(101,1,{107:1,120:1});_.sc=function(){return this.i};_.tS=function(){return Wm(this)};_.f=null;_.i=null;function Xm(a){Ym();this.i=a}t(100,101,fh,Xm);function mi(a){Ym();this.i=a}function ji(a,b){Ym();this.f=b;this.i=a}t(99,100,eh,mi,ji);
function Zm(a){Ym();this.c=a;this.b=j;var b,c,d;c=$m(an(this.c)?this.c:null);d=v(Um,k,119,c.length,0);for(a=0,b=d.length;a<b;++a)d[a]=new bn(c[a]);Tm(d)}t(98,99,eh,Zm);
_.sc=function(){if(null==this.d){this.e=null==this.c?Ef:an(this.c)?null==this.c?null:this.c.name:y(this.c,1)?"String":cn(this.c).e;this.b=this.b+sb+(an(this.c)?null==this.c?null:this.c.message:this.c+j);var a;if(an(this.c)){a=this.c;var b=j,c;for(c in a)if("name"!=c&&"message"!=c&&"toString"!=c)try{b+="\n "+c+sb+a[c]}catch(d){}a=b}else a=j;this.d=za+this.e+") "+a+this.b}return this.d};_.b=j;_.c=null;_.d=null;_.e=null;function dn(a,b){return en(a)?a.eQ(b):a===b}
function cn(a){return en(a)?a.cZ:fn}function gn(a){return en(a)?a.hC():Vh(a)}t(106,1,{});function Vh(a){return a.$H||(a.$H=++hn)}function jn(){return($wnd||self)["__gwtDevModeHook:"+$moduleName+":moduleBase"]||$moduleBase}function kn(){return $wnd.setTimeout(function(){0!=ln&&(ln=0);mn=-1},10)}var ln=0,hn=0,nn=0,mn=-1;function on(){on=u;pn=new qn}function rn(a,b){a.b=sn(a.b,[b,!1]);a.k||(a.k=!0,!a.f&&(a.f=new tn(a)),un(a.f,1),!a.j&&(a.j=new vn(a)),un(a.j,50))}function qn(){}
function wn(a){return a.tc()}function sn(a,b){!a&&(a=[]);a[a.length]=b;return a}function xn(a,b){var c,d,e;for(c=0,d=a.length;c<d;++c){e=a[c];try{e[1]?e[0].tc()&&(b=sn(b,e)):e[0].hc()}catch(f){if(f=ii(f),!y(f,120))throw f;}}return b}function un(a,b){on();$wnd.setTimeout(function(){Mj(wn)(a)&&$wnd.setTimeout(arguments.callee,b)},b)}t(108,106,{},qn);_.b=null;_.c=null;_.d=null;_.e=!1;_.f=null;_.i=null;_.j=null;_.k=!1;var pn;function tn(a){this.b=a}t(109,1,{},tn);
_.tc=function(){this.b.e=!0;var a=this.b,b;a.b&&(b=a.b,a.b=null,!a.i&&(a.i=[]),xn(b,a.i));if(a.i){b=a.i;var c,d,e,f,g;e=b.length;if(0==e)b=null;else{c=!1;for(f=Dj();100>Dj()-f;)for(d=0;d<e;++d)if((g=b[d])&&!g[0].tc())b[d]=null,c=!0;if(c){c=[];for(d=0;d<e;++d)b[d]&&(c[c.length]=b[d]);b=0==c.length?null:c}}a.i=b}this.b.e=!1;return this.b.k=!!this.b.b||!!this.b.i};_.b=null;function vn(a){this.b=a}t(110,1,{},vn);_.tc=function(){this.b.e&&un(this.b.f,1);return this.b.k};_.b=null;
function Ym(){var a,b,c;try{null.a()}catch(d){a=d}var e=$m(a);2<=e.length&&e.splice(0,2);c=v(Um,k,119,e.length,0);for(a=0,b=c.length;a<b;++a)c[a]=new bn(e[a]);Tm(c)}function $m(a){var b,c;c=a&&a.stack?a.stack.split(aa):[];for(a=0,b=c.length;a<b;++a){var d=c,e=a,f=c[a],g=void 0,h=void 0,i=void 0,i=j,f=yn(f),g=f.indexOf(za),h=0==f.indexOf(pe)?8:0;-1==g&&(g=zn(f,An(64)),h=0==f.indexOf("function ")?9:0);-1!=g&&(i=yn(f.substr(h,g-h)));d[e]=0<i.length?i:"anonymous"}return c}t(115,1,{});
function Sm(a,b){a.b+=b}function Bn(){}t(116,115,{},Bn);_.b=j;function ij(a){return Cn(Dn(a.ownerDocument),a)}function kj(a){return En(Dn(a.ownerDocument),a)}function Fn(a,b){return parseInt(a[b])||0}function Gn(a,b){return null==a[b]?null:""+a[b]}function Hn(a,b){a.innerHTML=b||j}function In(a){for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;return a}function Jn(a){a=a.parentNode;(!a||1!=a.nodeType)&&(a=null);return a}function Wi(a){a=a.button;return 1==a?4:2==a?2:1}
function Cn(a,b){if(Element.prototype.getBoundingClientRect)return b.getBoundingClientRect().left+a.scrollLeft|0;var c=b.ownerDocument;return c.getBoxObjectFor(b).screenX-c.getBoxObjectFor(c.documentElement).screenX}function En(a,b){if(Element.prototype.getBoundingClientRect)return b.getBoundingClientRect().top+a.scrollTop|0;var c=b.ownerDocument;return c.getBoxObjectFor(b).screenY-c.getBoxObjectFor(c.documentElement).screenY}
function Kn(){var a=$wnd.getComputedStyle($doc.documentElement,j);return parseInt(a.marginLeft)+parseInt(a.borderLeftWidth)}function Ln(){var a=$wnd.getComputedStyle($doc.documentElement,j);return parseInt(a.marginTop)+parseInt(a.borderTopWidth)}function hj(a){return!Mn()&&a.ownerDocument.defaultView.getComputedStyle(a,null).direction==eg?(a.scrollLeft||0)-((a.scrollWidth||0)-a.clientWidth):a.scrollLeft||0}function Mn(){var a=Nn();return-1!=a&&1009E3<=a}
function On(a,b){return a===b||!!(a.compareDocumentPosition(b)&16)}function Nn(){var a=/rv:([0-9]+)\.([0-9]+)(\.([0-9]+))?.*?/.exec(navigator.userAgent.toLowerCase());return a&&3<=a.length?1E6*parseInt(a[1])+1E3*parseInt(a[2])+parseInt(5<=a.length&&!isNaN(a[4])?a[4]:0):-1}function Ni(){var a=$doc;return(C(a.compatMode,Ob)?a.documentElement:a.body).clientHeight}function Mi(){var a=$doc;return(C(a.compatMode,Ob)?a.documentElement:a.body).clientWidth}
function Pn(a){return hj(C(a.compatMode,Ob)?a.documentElement:a.body)}function Qn(a){return(C(a.compatMode,Ob)?a.documentElement:a.body).scrollTop||0}function Dn(a){return C(a.compatMode,Ob)?a.documentElement:a.body}function D(a,b){this.c=a;this.d=b}t(138,1,{107:1,110:1,112:1});_.eQ=function(a){return this===a};_.hC=function(){return Vh(this)};_.tS=function(){return this.c};_.c=null;_.d=0;function Ti(){Ti=u;Rn=new Sn;Tn=new Un;Vn=new Wn;Xn=new Yn;Zn=new $n;ao=E(bo,k,6,[Rn,Tn,Vn,Xn,Zn])}
t(137,138,Lh);var ao,Vn,Tn,Xn,Rn,Zn;function Sn(){D.call(this,rc,0)}t(139,137,Lh,Sn);function Un(){D.call(this,"DOTTED",1)}t(140,137,Lh,Un);function Wn(){D.call(this,"DASHED",2)}t(141,137,Lh,Wn);function Yn(){D.call(this,cc,3)}t(142,137,Lh,Yn);function $n(){D.call(this,"SOLID",4)}t(143,137,Lh,$n);function co(){co=u;eo=new fo;go=new ho;io=new jo;ko=new lo;mo=E(no,k,7,[eo,go,io,ko])}t(144,138,zh);var mo,go,io,ko,eo;function fo(){D.call(this,rc,0)}t(145,144,zh,fo);
function ho(){D.call(this,"BLOCK",1)}t(146,144,zh,ho);function jo(){D.call(this,"INLINE",2)}t(147,144,zh,jo);function lo(){D.call(this,"INLINE_BLOCK",3)}t(148,144,zh,lo);function oo(){oo=u;po=new qo;ro=new so;to=new uo;vo=new wo;xo=E(yo,k,9,[po,ro,to,vo])}t(149,138,Th);var xo,vo,ro,to,po;function qo(){D.call(this,"VISIBLE",0)}t(150,149,Th,qo);function so(){D.call(this,cc,1)}t(151,149,Th,so);function uo(){D.call(this,"SCROLL",2)}t(152,149,Th,uo);function wo(){D.call(this,"AUTO",3)}t(153,149,Th,wo);
function zo(){zo=u;Ao=new Bo;Co=new Do;Eo=new Fo;Go=new Ho;Io=E(Jo,k,10,[Ao,Co,Eo,Go])}t(154,138,Nh);var Io,Ao,Co,Eo,Go;function Bo(){D.call(this,Nb,0)}t(155,154,Nh,Bo);function Do(){D.call(this,lc,1)}t(156,154,Nh,Do);function Fo(){D.call(this,nc,2)}t(157,154,Nh,Fo);function Ho(){D.call(this,Ic,3)}t(158,154,Nh,Ho);function Si(){Si=u;Ko=new Lo;Mo=new No;Oo=new Po;Qo=new Ro;So=new To;Uo=new Vo;Wo=new Xo;Yo=new Zo;$o=new ap;bp=E(cp,k,11,[Ko,Mo,Oo,Qo,So,Uo,Wo,Yo,$o])}t(159,138,ah);
var bp,Yo,Oo,Qo,Wo,$o,Uo,Mo,So,Ko;function Lo(){D.call(this,"PX",0)}t(160,159,ah,Lo);function No(){D.call(this,"PCT",1)}t(161,159,ah,No);function Po(){D.call(this,"EM",2)}t(162,159,ah,Po);function Ro(){D.call(this,"EX",3)}t(163,159,ah,Ro);function To(){D.call(this,"PT",4)}t(164,159,ah,To);function Vo(){D.call(this,"PC",5)}t(165,159,ah,Vo);function Xo(){D.call(this,"IN",6)}t(166,159,ah,Xo);function Zo(){D.call(this,"CM",7)}t(167,159,ah,Zo);function ap(){D.call(this,"MM",8)}t(168,159,ah,ap);
function dp(){dp=u;ep=[];fp=[];gp=[]}var ep,fp,gp;function hp(){hp=u;ip=new jp}function kp(a){var b;b=$doc.createElement("style");b.language="text/css";b.textContent=a||j;return b}function lp(a){var b;a.b||(b=$doc.getElementsByTagName("head")[0],a.b=b);return a.b}function jp(){}t(171,1,{},jp);_.b=null;var ip;t(182,1,{});_.tS=function(){return"An event type"};_.i=null;t(181,182,{});_.wc=function(){this.f=!1;this.i=null};_.f=!1;t(180,181,{});_.vc=function(){return this.xc()};_.b=null;var mp=_.c=null;
function np(){np=u;op=new pp(pd,new qp)}function qp(){}t(179,180,{},qp);_.uc=function(a){a.yc(this)};_.xc=function(){return op};var op;function rp(){rp=u;sp=new pp(Bd,new tp)}function tp(){}t(183,180,{},tp);_.uc=function(a){up();vp(this,a.c,wp(a.b.b,a.b.b.pb.selectedIndex))};_.xc=function(){return sp};var sp;t(186,180,Mh);function aj(a,b){return(a.b.clientX||0)-Cn(Dn(b.ownerDocument),b)+hj(b)+Pn(b.ownerDocument)}
function bj(a,b){return(a.b.clientY||0)-En(Dn(b.ownerDocument),b)+(b.scrollTop||0)+Qn(b.ownerDocument)}function Ui(a){var b;return(b=a.c)?aj(a,b):a.b.clientX||0}function Vi(a){var b;return(b=a.c)?bj(a,b):a.b.clientY||0}t(185,186,Mh);function xp(){xp=u;yp=new pp(Ed,new zp)}function zp(){}t(184,185,Mh,zp);_.uc=function(a){a.zc(this)};_.xc=function(){return yp};var yp;function Ap(){Ap=u;Bp=new pp(Ud,new Cp)}function Cp(){}t(187,180,{},Cp);_.uc=function(){this.b.preventDefault();this.b.stopPropagation()};
_.xc=function(){return Bp};var Bp;t(190,1,{83:1});_.hC=function(){return this.d};_.tS=function(){return"Event type"};var Dp=_.d=0;function Xj(){this.d=++Dp}t(189,190,gh,Xj);function pp(a,b){this.d=++Dp;this.b=b;!mp&&(mp=new Ep);mp.b[a]=this;this.c=a}t(188,189,gh,pp);_.b=null;_.c=null;function Fp(){Fp=u;Gp=new pp(Wd,new Hp)}function Hp(){}t(191,185,Mh,Hp);
_.uc=function(a){var b=a.b,a=!a.b.I.d,c,d;if(a!=b.I.d)if(b.kb){if(a){if(b.O!=(Ip(),Jp))a=Kp(b.pb),c=new Lp(Fn(b.pb,Hf),Fn(b.pb,Gf)),d=new Lp(Fn(b.T.jb.pb,Hf),Fn(b.T.jb.pb,Gf)),b.F.c=a.c-(c.c-d.c),b.F.b=a.b-(c.b-d.b);Mp(b.I,!0);a=Fn(b.T.jb.pb,Hf);Np(b,new Lp(a,Op(b.T.jb).b));b.J&&b.O!=Jp&&Pp(b.r,b)}else Mp(b.I,!1),b.O!=(Ip(),Jp)?Np(b,new Lp(b.F.c,b.F.b)):Qp(b,Kp(b.r.pb)),b.J&&b.O!=Jp&&Rp(b.r,b);Sp(b.T.jb)}else Mp(b.I,!0)};_.xc=function(){return Gp};var Gp;function Tp(){Tp=u;Up=new pp(je,new Vp)}
function Vp(){}t(192,180,{},Vp);_.uc=function(a){gj(a.b.b)};_.xc=function(){return Up};var Up;t(194,180,{});t(193,194,{});function Wp(){Wp=u;Xp=new pp(Pe,new Yp)}function Yp(){}t(195,193,{},Yp);
_.uc=function(a){var b,c;c=this.b.keyCode||0;b=new Zp(null,c,null);if(this.b.ctrlKey||this.b.shiftKey||this.b.metaKey||this.b.altKey)this.b.ctrlKey&&(b.f|=2),this.b.altKey&&(b.f|=8),this.b.metaKey&&(b.f|=4),this.b.shiftKey&&(b.f|=1);a:{var a=a.b.d,d,e;a.gb=!1;if(!a.x){a.gb=!0;a.I=j;e=0;d=8==b.f;b=0!=(b.f&2);switch(c){case 99:case 67:b?$p(aq(a)):e=301;break;case 118:case 86:b&&(c=a.t,c.b=new bq(a),cq(),dq(c));break;case 110:case 78:e=401;break;case 111:case 79:e=501;break;case 115:case 83:e=601;break;
case 112:case 80:e=1101;break;case 102:case 70:e=701;break;case 108:case 76:e=801;break;case 98:case 66:e=901;break;case 105:case 73:e=1001;break;case 120:case 88:eq(a,Gn((fq(),gq).Tb.b.pb,Mg));e=1201;a.d=18;break;case 104:case 72:a.gb=!0;a.I=bc;e=1300;break;case 114:case 82:a.gb=!0;a.I=Bc;e=1301;break;case 116:case 84:701==a.c?(e=236,a.gb=!0,a.I=Qa):801==a.c?(e=237,a.gb=!0,a.I=Pa):(e=233,a.gb=!0,a.I="-tBu");break;case 121:case 89:b?e=111:(e=234,a.gb=!0,a.I=Wa);break;case 122:case 90:b?e=110:(e=239,
a.gb=!0,a.I=Za);break;case 97:case 65:e=235;a.gb=!0;a.I="-COOH";break;case 101:case 69:e=238;a.gb=!0;a.I=Ia;break;case 117:case 85:e=110;break;case 113:case 81:e=242;a.gb=!0;a.I=Ja;break;case 103:break a;case 27:e=202;break;case 45:701==a.c?(e=254,a.gb=!0,a.I="-F"):801==a.c?(e=255,a.gb=!0,a.I="-Cl"):901==a.c?(e=256,a.gb=!0,a.I="-Br"):1001==a.c?(e=257,a.gb=!0,a.I="-I"):501==a.c?(e=259,a.gb=!0,a.I="-OH"):401==a.c?(e=258,a.gb=!0,a.I="-NH2"):e=202;break;case 61:501==a.c?(e=250,a.gb=!0,a.I="=O"):e=203;
break;case 35:e=204;break;case 48:105==a.c?hq(a,0):d?(e=223,a.gb=!0,a.I="-3-Furyl"):(e=221,a.gb=!0,a.I="-Furyl");break;case 49:105==a.c?hq(a,1):1301==a.c?(a.gb=!0,a.I="-R1",e=1302):e=209;break;case 50:105==a.c&&hq(a,2);1301==a.c&&(a.gb=!0,a.I="-R2",e=1303);break;case 51:105==a.c?hq(a,3):1301==a.c?(a.gb=!0,a.I="-R3",e=1304):e=206;break;case 52:105==a.c?hq(a,4):e=207;break;case 53:105==a.c?hq(a,5):e=208;break;case 54:105==a.c?hq(a,6):e=210;break;case 55:105==a.c?hq(a,7):e=211;break;case 56:105==a.c?
hq(a,8):e=212;break;case 57:105==a.c?hq(a,9):(a.gb=!0,a.I="9 ring",e=229);break;case 100:case 68:case 8:case 127:e=104;break;case 32:e=205;break;case 109:case 77:case 1002:e=151;break;case 119:case 87:case 1003:e=152}iq(a,e)}}};_.xc=function(){return Xp};var Xp;function jq(){jq=u;kq=new pp(qf,new lq)}function lq(){}t(196,185,Mh,lq);_.uc=function(a){a.ec(this)};_.xc=function(){return kq};var kq;function Oi(){Oi=u;Pi=new pp(rf,new mq)}function mq(){}t(197,185,Mh,mq);_.uc=function(a){a.fc(this)};
_.xc=function(){return Pi};var Pi;function nq(){nq=u;oq=new pp(sf,new pq)}function pq(){}t(198,185,Mh,pq);_.uc=function(a){var b;a.f&&1==a.e&&(b=new $i(Ci,null),a.c.j=a.i+b.b,a.c.k=a.j+b.e,Di(a))};_.xc=function(){return oq};var oq;function Qi(){Qi=u;Ri=new pp(uf,new qq)}function qq(){}t(199,185,Mh,qq);_.uc=function(a){a.gc(this)};_.xc=function(){return Ri};var Ri;function Ep(){this.b={}}t(200,1,{},Ep);_.b=null;function rq(a,b){this.b=b;this.c=a}function sq(a,b,c){Wj&&(b=new rq(b,c),a.Ic(b))}
t(202,181,{},rq);_.uc=function(a){a.Ec(this)};_.vc=function(){return Wj};_.b=!1;var Wj=_.c=null;function tq(a){this.b=a}t(203,181,{},tq);_.uc=function(a){a.Fc(this)};_.vc=function(){return uq};var uq=_.b=null;function vq(){}function wq(a){var b;xq&&(b=new vq,a.Ic(b))}t(204,181,{},vq);_.uc=function(a){a.Gc(this)};_.vc=function(){return xq};var xq=null;function yq(a){this.b=a}t(205,181,{},yq);_.uc=function(a){a.Hc(this)};_.vc=function(){return zq};var zq=_.b=null;function Aq(){}t(206,181,{},Aq);
_.uc=function(a){a.b.W&&a.b.sd()};_.vc=function(){return Bq};var Bq=null;function Cq(a,b,c){a=a.b;if(!b)throw new Dq("Cannot add a handler with a null type");if(!c)throw new Dq("Cannot add a null handler");0<a.c?Eq(a,new Fq(a,b,c)):Gq(a,b,null,c);return new Hq(new Iq(a,b,c))}
function Jq(a,b){var c;!b.f||b.wc();c=b.i;b.i=a.c;try{var d=a.b,e,f,g,h,i;if(!b)throw new Dq("Cannot fire null event");try{++d.c;h=Kq(d,b.vc(),null);e=null;for(i=d.d?h.Re(h.me()):h.Qe();d.d?i.Te():i.Lc();){g=d.d?i.Ue():i.Mc();try{b.uc(g)}catch(l){if(l=ii(l),y(l,120))f=l,!e&&(e=new Lq),Mq(e,f);else throw l;}}if(e)throw new Nq(e);}finally{if(--d.c,0==d.c){var m,n;if(d.b)try{for(n=new ci(d.b);n.c<n.e.me();)m=di(n),m.hc()}finally{d.b=null}}}}catch(o){o=ii(o);if(y(o,84))throw new Oq(o.b);throw o;}finally{null==
c?(b.f=!0,b.i=null):b.i=c}}function Pq(a){Qq.call(this,a,!1)}function Qq(a,b){this.b=new Rq(b);this.c=a}t(207,1,bh,Pq,Qq);_.Ic=function(a){Jq(this,a)};_.b=null;_.c=null;t(210,1,{});function Eq(a,b){!a.b&&(a.b=new yi);ri(a.b,b)}function Gq(a,b,c,d){var e;e=Bi(a.e,b);e||(e=new ai,x(a.e,b,e));a=e.ie(c);a||(a=new yi,e.ke(c,a));a.Ie(d)}function Sq(a,b,c,d){var e,f;e=Kq(a,b,c);e.Ke(d)&&e.je()&&(f=Bi(a.e,b),f.le(c),f.je()&&li(a.e,b))}
function Kq(a,b,c){a=Bi(a.e,b);if(!a)return Tq(),Tq(),Uq;c=a.ie(c);return!c?(Tq(),Tq(),Uq):c}t(209,210,{});_.b=null;_.c=0;_.d=!1;function Rq(a){this.e=new ai;this.d=a}t(208,209,{},Rq);function Hq(a){this.b=a}t(211,1,{},Hq);_.b=null;function Nq(a){ji.call(this,Vq(a),Wq(a));this.b=a}function Wq(a){a=a.ld();return!a.Lc()?null:a.Mc()}
function Vq(a){var b,c,d;b=a.me();if(0==b)return null;b=new Xq(1==b?"Exception caught: ":b+" exceptions caught: ");c=!0;for(a=a.ld();a.Lc();)d=a.Mc(),c?c=!1:b.b.b+="; ",d=d.sc(),Sm(b.b,d);return b.b.b}t(213,99,uh,Nq);_.b=null;function Oq(a){Nq.call(this,a)}t(212,213,uh,Oq);t(214,1,{},function(){});function Yq(a){a=Gn(a,Zd);return Zq(eg,a)?($q(),ar):Zq($e,a)?($q(),br):($q(),cr)}function $q(){$q=u;ar=new dr("RTL",0);br=new dr("LTR",1);cr=new dr("DEFAULT",2);er=E(fr,k,49,[ar,br,cr])}
function dr(a,b){D.call(this,a,b)}t(216,138,{49:1,107:1,110:1,112:1},dr);var er,cr,br,ar;function gr(){}function hr(a,b){var c=Array(b);if(3==a)for(var d=0;d<b;++d){var e={};e.l=e.m=e.h=0;c[d]=e}else if(0<a){e=[null,0,!1][a];for(d=0;d<b;++d)c[d]=e}return c}function v(a,b,c,d,e){d=hr(e,d);E(a,b,c,d);return d}function ir(a){return jr([kr,G],[k,r],[106,-1],a,0,2,1)}
function jr(a,b,c,d,e,f,g){var h,i,l;i=d[e];h=e==f-1;l=hr(h?g:0,i);E(a[e],b[e],c[e],l);if(!h){++e;for(h=0;h<i;++h)l[h]=jr(a,b,c,d,e,f,g)}return l}function E(a,b,c,d){lr();var e=mr,f=nr;lr();for(var g=0,h=e.length;g<h;++g)d[e[g]]=f[g];d.cZ=a;d.cM=b;d.qI=c;return d}function or(a,b,c){if(null!=c){if(0<a.qI&&(!c.cM||!c.cM[a.qI]))throw new pr;if(-1==a.qI&&(c.tM==u||c.cM&&c.cM[1]))throw new pr;if(-1>a.qI&&(c.tM==u||c.cM&&c.cM[1])&&(!c.cM||!c.cM[-a.qI]))throw new pr;}a[b]=c}t(217,1,{},gr);_.qI=0;
function lr(){lr=u;mr=[];nr=[];var a=new gr,b=mr,c=nr,d=0,e,f;for(f in a)if(e=a[f])b[d]=f,c[d]=e,++d}var mr,nr;function y(a,b){return null!=a&&a.cM&&!!a.cM[b]}function an(a){return null!=a&&a.tM!=u&&!(a.cM&&a.cM[1])}function en(a){return a.tM==u||a.cM&&!!a.cM[1]}function qr(a){return null==a?null:a}function H(a){return~~Math.max(Math.min(a,2147483647),-2147483648)}
function rr(){var a;$stats&&sr("com.google.gwt.useragent.client.UserAgentAsserter");a=navigator.userAgent.toLowerCase();if(-1!=a.indexOf(If))a=If;else if(-1!=a.indexOf("webkit"))a="safari";else if(-1!=a.indexOf(wf)&&9<=$doc.documentMode)a="ie9";else if(-1!=a.indexOf(wf)&&8<=$doc.documentMode)a="ie8";else{var b;var c=/msie ([0-9]+)\.([0-9]+)/.exec(a);c&&3==c.length&&(b=6E3<=1E3*parseInt(c[1])+parseInt(c[2]));a=b?"ie6":-1!=a.indexOf("gecko")?re:"unknown"}C(re,a)||$wnd.alert("ERROR: Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value (gecko1_8) does not match the runtime user.agent value ("+
a+"). Expect more errors.\n");$stats&&sr("com.google.gwt.user.client.DocumentModeAsserter");b=$doc.compatMode;a=E(tr,k,1,[Ob]);for(c=0;c<a.length&&!C(a[c],b);++c);$stats&&sr("com.allen_sauer.gwt.dnd.client.util.DragEntryPoint");$wnd.$GWT_DND_VERSION="3.0.0";dp();gp.unshift("HTML{margin:0 !important;border:none !important;}.dragdrop-handle{cursor:move;user-select:none;-khtml-user-select:none;-moz-user-select:none;}.GBVTBU-BB{zoom:1;}.dragdrop-dragging{zoom:normal;}.GBVTBU-BI{border:1px dashed #1e90ff;margin:0 !important;zoom:1;z-index:100;}.dragdrop-flow-panel-positioner{color:#1e90ff;display:inline;text-align:center;vertical-align:middle;}.dragdrop-proxy{background-color:#7af;}.dragdrop-selected,.dragdrop-dragging,.dragdrop-proxy{filter:alpha(opacity \\= 30);opacity:0.3;}.dragdrop-movable-panel{z-index:200;margin:0 !important;border:none !important;}");
dp();0!=gp.length&&(a=gp.join(j),b=(hp(),ip),a=kp(a),lp(b).insertBefore(a,b.b.firstChild),gp.length=0);0!=ep.length&&(a=ep.join(j),b=(hp(),ip),a=kp(a),lp(b).appendChild(a),ep.length=0);0!=fp.length&&(a=fp.join(j),b=(hp(),ip),a=kp(a),lp(b).appendChild(a),fp.length=0);$stats&&sr("export.client.JSME_export");new ur;$wnd.jsmeOnLoad&&typeof $wnd.jsmeOnLoad==pe?$wnd.jsmeOnLoad():$wnd.alert('Warning: the global function "jsmeOnLoad" is not defined.\n If you have defined it, there might be a syntax error in your javascript code.')}
function ii(a){return y(a,120)?a:new Zm(a)}function vr(a){return wr(a&4194303,a>>22&4194303,0>a?1048575:0)}function xr(a){return wr(a.l,a.m,a.h)}function wr(a,b,c){return _=new yr,_.l=a,_.m=b,_.h=c,_}
function zr(a,b){var c,d,e,f,g;if(0==b.l&&0==b.m&&0==b.h)throw new Ar;if(0==a.l&&0==a.m&&0==a.h)return Br=wr(0,0,0),wr(0,0,0);if(524288==b.h&&0==b.m&&0==b.l)return c=a,524288==c.h&&0==c.m&&0==c.l?(Br=wr(0,0,0),c=xr((Cr(),Dr))):(Br=wr(c.l,c.m,c.h),c=wr(0,0,0)),c;g=!1;0!=b.h>>19&&(b=Er(b),g=!0);e=b.l;0!=(e&e-1)?f=-1:(d=b.m,0!=(d&d-1)?f=-1:(c=b.h,f=0!=(c&c-1)||0==c&&0==d&&0==e?-1:0==c&&0==d&&0!=e?Fr(e):0==c&&0!=d&&0==e?Fr(d)+22:0!=c&&0==d&&0==e?Fr(c)+44:-1));c=d=e=!1;if(524288==a.h&&0==a.m&&0==a.l)if(e=
d=!0,-1==f)a=xr((Cr(),Gr)),c=!0,g=!g;else return c=Hr(a,f),g&&Ir(c),Br=wr(0,0,0),c;else 0!=a.h>>19&&(e=!0,a=Er(a),c=!0,g=!g);if(-1!=f){c=a;d=f;f=g;g=e;e=Hr(c,d);f&&Ir(e);var h;22>=d?(f=c.l&(1<<d)-1,h=c=0):44>=d?(f=c.l,h=c.m&(1<<d-22)-1,c=0):(f=c.l,h=c.m,c=c.h&(1<<d-44)-1);c=wr(f,h,c);g?Br=Er(c):Br=wr(c.l,c.m,c.h);return e}if(!Jr(a,b))return e?Br=Er(a):Br=wr(a.l,a.m,a.h),wr(0,0,0);c=c?a:wr(a.l,a.m,a.h);var i,l,m,n;h=Kr(b)-Kr(c);l=h&63;22>l?(f=b.l<<l,i=b.m<<l|b.l>>22-l,l=b.h<<l|b.m>>22-l):44>l?(f=0,
i=b.l<<l-22,l=b.m<<l-22|b.l>>44-l):(i=f=0,l=b.l<<l-44);i=wr(f&4194303,i&4194303,l&1048575);for(f=wr(0,0,0);0<=h;){l=c;var o=n=m=void 0,o=l.h-i.h;0>o?l=!1:(m=l.l-i.l,n=l.m-i.m+(m>>22),o+=n>>22,0>o?l=!1:(l.l=m&4194303,l.m=n&4194303,l.h=o&1048575,l=!0));if(l&&(22>h?f.l|=1<<h:44>h?f.m|=1<<h-22:f.h|=1<<h-44,0==c.l&&0==c.m&&0==c.h))break;l=i.m;m=i.h;n=i.l;i.h=m>>>1;i.m=l>>>1|(m&1)<<21;i.l=n>>>1|(l&1)<<21;--h}g&&Ir(f);e?(Br=Er(c),d&&(c=Br,g=(Cr(),Dr),e=c.l-g.l,d=c.m-g.m+(e>>22),Br=wr(e&4194303,d&4194303,
c.h-g.h+(d>>22)&1048575))):Br=wr(c.l,c.m,c.h);return f}function Ir(a){var b,c,d;b=~a.l+1&4194303;c=~a.m+(0==b?1:0)&4194303;d=~a.h+(0==b&&0==c?1:0)&1048575;a.l=b;a.m=c;a.h=d}function Kr(a){var b;b=Lr(a.h);return 32==b?(b=Lr(a.m),32==b?Lr(a.l)+32:b+20-10):b-12}var Br=null;function Mr(a,b){var c,d;c=a.l+b.l;d=a.m+b.m+(c>>22);return wr(c&4194303,d&4194303,a.h+b.h+(d>>22)&1048575)}function Nr(a,b){return wr(a.l&b.l,a.m&b.m,a.h&b.h)}function Or(a,b){return a.l==b.l&&a.m==b.m&&a.h==b.h}
function I(a){var b,c,d;if(isNaN(a))return Cr(),Pr;if(-9223372036854775E3>a)return Cr(),Qr;if(9223372036854775E3<=a)return Cr(),Gr;d=!1;0>a&&(d=!0,a=-a);c=0;17592186044416<=a&&(c=H(a/17592186044416),a-=17592186044416*c);b=0;4194304<=a&&(b=H(a/4194304),a-=4194304*b);a=H(a);b=wr(a,b,c);d&&Ir(b);return b}function Rr(a){var b,c;return-129<a&&128>a?(b=a+128,null==Sr&&(Sr=v(Tr,k,50,256,0)),c=Sr[b],!c&&(c=Sr[b]=vr(a)),c):vr(a)}
function Ur(a){var b=Vg,c,d;c=a.h>>19;d=b.h>>19;return 0==c?0!=d||a.h>b.h||a.h==b.h&&a.m>b.m||a.h==b.h&&a.m==b.m&&a.l>b.l:!(0==d||a.h<b.h||a.h==b.h&&a.m<b.m||a.h==b.h&&a.m==b.m&&a.l<=b.l)}function Jr(a,b){var c,d;c=a.h>>19;d=b.h>>19;return 0==c?0!=d||a.h>b.h||a.h==b.h&&a.m>b.m||a.h==b.h&&a.m==b.m&&a.l>=b.l:!(0==d||a.h<b.h||a.h==b.h&&a.m<b.m||a.h==b.h&&a.m==b.m&&a.l<b.l)}
function Vr(a,b){var c,d,e,f,g,h,i,l,m,n,o,q,w,F;c=a.l&8191;d=a.l>>13|(a.m&15)<<9;e=a.m>>4&8191;f=a.m>>17|(a.h&255)<<5;g=(a.h&1048320)>>8;h=b.l&8191;i=b.l>>13|(b.m&15)<<9;l=b.m>>4&8191;m=b.m>>17|(b.h&255)<<5;n=(b.h&1048320)>>8;o=c*h;w=d*h;q=e*h;F=f*h;g*=h;0!=i&&(w+=c*i,q+=d*i,F+=e*i,g+=f*i);0!=l&&(q+=c*l,F+=d*l,g+=e*l);0!=m&&(F+=c*m,g+=d*m);0!=n&&(g+=c*n);c=(o&4194303)+((w&511)<<13);o=(o>>22)+(w>>9)+((q&262143)<<4)+((F&31)<<17)+(c>>22);q=(q>>18)+(F>>5)+((g&4095)<<8)+(o>>22);return wr(c&4194303,o&
4194303,q&1048575)}function Er(a){var b,c;b=~a.l+1&4194303;c=~a.m+(0==b?1:0)&4194303;return wr(b,c,~a.h+(0==b&&0==c?1:0)&1048575)}function Hr(a,b){var c,d,e,b=b&63;c=a.h;(d=0!=(c&524288))&&(c|=-1048576);22>b?(e=c>>b,d=a.m>>b|c<<22-b,c=a.l>>b|a.m<<22-b):44>b?(e=d?1048575:0,d=c>>b-22,c=a.m>>b-22|c<<44-b):(e=d?1048575:0,d=d?4194303:0,c>>=b-44);return wr(c&4194303,d&4194303,e&1048575)}function K(a){return a.l|a.m<<22}
function Wr(a){var b,c,d;if(0==a.l&&0==a.m&&0==a.h)return gb;if(524288==a.h&&0==a.m&&0==a.l)return"-9223372036854775808";if(0!=a.h>>19)return Fa+Wr(Er(a));for(c=j;!(0==a.l&&0==a.m&&0==a.h);){b=Rr(1E9);a=zr(a,b);b=j+K(Br);if(!(0==a.l&&0==a.m&&0==a.h))for(d=9-b.length;0<d;--d)b=gb+b;c=b+c}return c}var Sr=null;function Cr(){Cr=u;Gr=wr(4194303,4194303,524287);Qr=wr(0,0,524288);Dr=Rr(1);Rr(2);Pr=Rr(0)}var Gr,Qr,Dr,Pr;function yr(){}t(226,1,{50:1},yr);
function sr(a){$stats({moduleName:$moduleName,sessionId:$sessionId,subSystem:"startup",evtGroup:"moduleStartup",millis:(new Date).getTime(),type:"onModuleLoadStart",className:a})}function Xr(a,b,c){this.d=this.c=0;this.b=c;this.f=b;this.e=a}t(231,1,{},Xr);_.b=0;_.c=0;_.d=0;_.e=null;_.f=0;function Yr(a,b){Sm(a.b.b,b.b);return a}function Zr(){this.b=new $r}t(232,1,{},Zr);function as(a){if(null==a)throw new Dq("css is null");this.b=a}t(233,1,{51:1,107:1},as);
_.eQ=function(a){return!y(a,51)?!1:C(this.b,a.b)};_.hC=function(){return bs(this.b)};_.b=null;function cs(a){if(null==a)throw new Dq("html is null");this.b=a}t(235,1,hh,cs);_.Jc=function(){return this.b};_.eQ=function(a){return!y(a,53)?!1:C(this.b,a.b)};_.hC=function(){return bs(this.b)};_.b=null;t(236,1,hh,function(){this.b=j});_.Jc=function(){return this.b};_.eQ=function(a){return!y(a,53)?!1:C(this.b,a.b)};_.hC=function(){return bs(this.b)};_.b=null;
function ds(){ds=u;es=RegExp(sa,qe);fs=RegExp(xb,qe);gs=RegExp(ub,qe);hs=RegExp(ya,qe);is=RegExp(fa,qe)}function js(a){ds();-1!=a.indexOf(sa)&&(a=a.replace(es,ta));-1!=a.indexOf(ub)&&(a=a.replace(gs,va));-1!=a.indexOf(xb)&&(a=a.replace(fs,ua));-1!=a.indexOf(fa)&&(a=a.replace(is,"&quot;"));-1!=a.indexOf(ya)&&(a=a.replace(hs,"&#39;"));return a}var es,fs,gs,is,hs;function ks(a){if(null==a)throw new Dq("uri is null");this.b=a}t(238,1,{54:1},ks);_.eQ=function(a){return!y(a,54)?!1:C(this.b,a.b)};_.hC=function(){return bs(this.b)};
_.b=null;function ys(){ys=u}t(240,1,{});function zs(){}t(241,1,{},zs);var As=null;function Bs(){}t(242,240,{},Bs);var Cs=null;function Ds(a,b,c){var d,e,f,g,h;if(a)for(g=0,h=c.length;g<h;++g){f=c[g];e=Kq(a.b,f,null).me();for(e-=1;0<=e;--e)if(d=Kq(a.b,f,null).Pe(e),y(d,55)&&dn(d.b,b)){var i=a.b,l=f;0<i.c?Eq(i,new Es(i,l,null,d)):Sq(i,l,null,d)}}}t(243,1,lh);_.b=null;function Fs(a){this.b=a}t(244,243,lh,Fs);_.Kc=function(a){a.d&&(this.b.Pc(a.e)||(a.b=!0))};function Gs(a){this.b=a}t(245,243,lh,Gs);
_.Gc=function(){var a=this.b.b;Hs(a);Is(a.pb)};function Js(){Ym()}t(246,99,eh,Js);function Ks(a){0!=a.c.d&&!a.f&&!a.d&&(a.f=!0,Qj(a.e,1))}function Ls(){this.b=new Ms(this);this.c=new yi;this.e=new Ns(this);this.i=new Os(this)}t(247,1,{},Ls);_.d=!1;_.f=!1;function Ms(a){Rj();this.b=a}t(248,26,{},Ms);_.rc=function(){if(this.b.d){var a=this.b,b;b=Ps(a.i.e.c,a.i.c);Qs(a.i);y(b,56)&&new Js;a.d=!1;Ks(a)}};_.b=null;function Ns(a){Rj();this.b=a}t(249,26,{},Ns);
_.rc=function(){this.b.f=!1;var a=this.b,b=Dj(),c,d,e;e=!1;try{a.d=!0;a.i.b=a.c.d;for(Qj(a.b,1E4);a.i.d<a.i.b;){d=Rs(a.i);try{if(null==d)break;y(d,56)&&(c=d,c.hc())}finally{(e=-1==a.i.c)||Qs(a.i)}if(100<=Dj()-b)break}}finally{e||(Yj(a.b),a.d=!1,Ks(a))}};_.b=null;function Rs(a){var b;a.c=a.d;b=Ps(a.e.c,a.d++);a.d>=a.b&&(a.d=0);return b}function Qs(a){Ss(a.e.c,a.c);--a.b;a.c<=a.d&&0>--a.d&&(a.d=0);a.c=-1}function Os(a){this.e=a}t(250,1,{},Os);_.Lc=function(){return this.d<this.b};_.Mc=function(){return Rs(this)};
_.Nc=function(){Qs(this)};_.b=0;_.c=-1;_.d=0;_.e=null;function Ts(a,b){var c=(Us(),Vs(b));a.appendChild(c)}function Ws(a,b,c){var d;d=fj;fj=a;b==Hi&&8192==Xs(a.type)&&(Hi=null);c.Oc(a);fj=d}var fj=null,Hi=null;function Ys(){Ys=u;Zs=new Ls}function Yi(a){Ys();if(!a)throw new Dq("cmd cannot be null");var b=Zs;ri(b.c,a);Ks(b)}var Zs;function $s(a){Ii();!at&&(at=new Xj);bt||(bt=new Qq(null,!0),ct=new dt);return Cq(bt,at,a)}var bt=null;function et(a){a.f=!1;a.i=null;a.b=!1;a.c=!1;a.d=!0;a.e=null}
function dt(){}t(256,181,{},dt);_.uc=function(a){a.Kc(this);ct.d=!1};_.vc=function(){return at};_.wc=function(){et(this)};_.b=!1;_.c=!1;_.d=!1;var at=_.e=null,ct=null;function ft(){ft=u;gt=new ht;it()||(gt=null)}var gt=null;function Tj(){}t(258,1,{},Tj);_.Ec=function(){for(;0<(Rj(),Sj).d;)Yj(Ps(Sj,0))};function Vj(a,b){return Cq((!jt&&(jt=new kt),jt),a,b)}function lt(a){Uj();mt||(nt(),mt=!0);return Vj((!xq&&(xq=new Xj),xq),a)}function Uj(){ot||(pt(),ot=!0)}
function qt(){var a;ot&&(a=new rt,jt&&Jq(jt,a));return null}var ot=!1,jt=null,st=0,tt=0,mt=!1;function ut(){ut=u;vt=new Xj}function rt(){ut()}t(260,181,{},rt);_.uc=function(){null.of()};_.vc=function(){return vt};var vt;function kt(){Pq.call(this,null)}t(262,207,bh,kt);
function Xs(a){switch(a){case pd:return 4096;case Bd:return 1024;case Ed:return 1;case Wd:return 2;case je:return 2048;case Pe:return 128;case Qe:return 256;case Re:return 512;case Xe:return 32768;case "losecapture":return 8192;case qf:return 4;case rf:return 64;case sf:return 32;case tf:return 16;case uf:return 8;case "scroll":return 16384;case "error":return 65536;case Tb:case vf:return 131072;case Ud:return 262144;case "paste":return 524288;case Gg:return 1048576;case Fg:return 2097152;case Eg:return 4194304;
case Dg:return 8388608;case ve:return 16777216;case se:return 33554432;case ue:return 67108864;default:return-1}}function Ii(){wt||(xt(),yt(),wt=!0)}var wt=!1;function zt(a,b){for(var c=0,d=a.firstChild;d;){if(1==d.nodeType){if(b==c)return d;++c}d=d.nextSibling}return null}function At(a){for(var b=0,a=a.firstChild;a;)1==a.nodeType&&++b,a=a.nextSibling;return b}
function xt(){Bt=Mj(function(a){var b;var c=bt,d,e,f;at&&c&&Ct(c.b.e,at)?(b=ct.b,d=ct.c,e=ct.d,f=ct.e,et(ct),ct.e=a,Jq(c,ct),c=!(ct.b&&!ct.c),ct.b=b,ct.c=d,ct.d=e,ct.e=f,b=c):b=!0;!b&&a&&(a.cancelBubble=!0,a.preventDefault());return!b?(a.stopPropagation(),a.preventDefault(),!1):!0});L=Mj(function(a){for(var b,c=this;c&&!(b=c.__listener);)c=c.parentNode;c&&1!=c.nodeType&&(c=null);b&&!an(b)&&y(b,57)&&Ws(a,c,b)});Dt=Mj(function(a){a.preventDefault();L.call(this,a)});Et=Mj(function(a){this.__gwtLastUnhandledEvent=
a.type;L.call(this,a)});Ft=Mj(function(a){if(Bt(a)){var b=Ji;b&&b.__listener&&!an(b.__listener)&&y(b.__listener,57)&&(Ws(a,b,b.__listener),a.stopPropagation())}});$wnd.addEventListener(Ed,Ft,!0);$wnd.addEventListener(Wd,Ft,!0);$wnd.addEventListener(qf,Ft,!0);$wnd.addEventListener(uf,Ft,!0);$wnd.addEventListener(rf,Ft,!0);$wnd.addEventListener(tf,Ft,!0);$wnd.addEventListener(sf,Ft,!0);$wnd.addEventListener(vf,Ft,!0);$wnd.addEventListener(Pe,Bt,!0);$wnd.addEventListener(Re,Bt,!0);$wnd.addEventListener(Qe,
Bt,!0);$wnd.addEventListener(Gg,Ft,!0);$wnd.addEventListener(Fg,Ft,!0);$wnd.addEventListener(Eg,Ft,!0);$wnd.addEventListener(Dg,Ft,!0);$wnd.addEventListener(ve,Ft,!0);$wnd.addEventListener(se,Ft,!0);$wnd.addEventListener(ue,Ft,!0)}function Gt(a,b,c){for(var d=0,e=a.firstChild,f=null;e;){if(1==e.nodeType){if(d==c){f=e;break}++d}e=e.nextSibling}a.insertBefore(b,f)}var Ji=null,Bt=null,Ft=null,Dt=null,L=null,Et=null;
function yt(){$wnd.addEventListener(sf,Mj(function(a){var b=Ji;if(b&&!a.relatedTarget&&Le==a.target.tagName.toLowerCase()){var c=$doc.createEvent("MouseEvents");c.initMouseEvent(uf,!0,!0,$wnd,0,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,a.button,null);b.dispatchEvent(c)}}),!0);$wnd.addEventListener(Tb,Ft,!0)}
function Ht(a,b){Ii();var c=(a.__eventBits||0)^b;a.__eventBits=b;c&&(c&1&&(a.onclick=b&1?L:null),c&2&&(a.ondblclick=b&2?L:null),c&4&&(a.onmousedown=b&4?L:null),c&8&&(a.onmouseup=b&8?L:null),c&16&&(a.onmouseover=b&16?L:null),c&32&&(a.onmouseout=b&32?L:null),c&64&&(a.onmousemove=b&64?L:null),c&128&&(a.onkeydown=b&128?L:null),c&256&&(a.onkeypress=b&256?L:null),c&512&&(a.onkeyup=b&512?L:null),c&1024&&(a.onchange=b&1024?L:null),c&2048&&(a.onfocus=b&2048?L:null),c&4096&&(a.onblur=b&4096?L:null),c&8192&&
(a.onlosecapture=b&8192?L:null),c&16384&&(a.onscroll=b&16384?L:null),c&32768&&(a.onload=b&32768?Et:null),c&65536&&(a.onerror=b&65536?L:null),c&131072&&(a.onmousewheel=b&131072?L:null),c&262144&&(a.oncontextmenu=b&262144?L:null),c&524288&&(a.onpaste=b&524288?L:null),c&1048576&&(a.ontouchstart=b&1048576?L:null),c&2097152&&(a.ontouchmove=b&2097152?L:null),c&4194304&&(a.ontouchend=b&4194304?L:null),c&8388608&&(a.ontouchcancel=b&8388608?L:null),c&16777216&&(a.ongesturestart=b&16777216?L:null),c&33554432&&
(a.ongesturechange=b&33554432?L:null),c&67108864&&(a.ongestureend=b&67108864?L:null));b&131072&&a.addEventListener(Tb,L,!1)}function It(){var a;It=u;Jt=(a=$doc,C(a.compatMode,Ob)?a.documentElement:a.body)}var Jt;function Kt(){this.c=new yi}function Lt(a){a=a[dd];return null==a?-1:a}t(267,1,{},Kt);_.b=null;function Mt(a,b){this.b=a;this.c=b}t(268,1,{},Mt);_.b=0;_.c=null;t(269,1,bh);_.Qc=function(a){return decodeURI(a.replace("%23",pa))};_.Ic=function(a){Jq(this.b,a)};
_.Rc=function(a){a=null==a?j:a;if(!C(a,null==Nt?j:Nt))Nt=a,Bq&&(a=new Aq,Jq(this.b,a))};var Nt=j;function it(){function a(){$wnd.setTimeout(a,250);e()}var b=gt,c=j,d=$wnd.location.hash;0<d.length&&(c=b.Qc(d.substring(1)));Nt=c;var e=Mj(function(){var a=j,c=$wnd.location.hash;0<c.length&&(a=b.Qc(c.substring(1)));b.Rc(a)});a();return!0}t(271,269,bh);function ht(){this.b=new Pq(null)}t(270,271,bh,ht);_.Qc=function(a){return a};
function pt(){var a=$wnd.onbeforeunload,b=$wnd.onunload;$wnd.onbeforeunload=function(b){var d;try{d=Mj(qt)()}finally{b=a&&a(b)}if(null!=d)return d;if(null!=b)return b};$wnd.onunload=Mj(function(a){try{ot&&sq((!jt&&(jt=new kt),jt),null,!1)}finally{b&&b(a),$wnd.onresize=null,$wnd.onscroll=null,$wnd.onbeforeunload=null,$wnd.onunload=null}})}
function nt(){var a=$wnd.onresize;$wnd.onresize=Mj(function(b){try{var c,d;if(mt&&(d=Mi(),c=Ni(),tt!=d||st!=c))tt=d,st=c,wq((!jt&&(jt=new kt),jt))}finally{a&&a(b)}})}function xi(a,b){ei(a.Wc(),b,!0)}function wi(a,b){ei(a.Wc(),b,!1)}function Li(a,b,c){0<=b&&a._c(b+Qf);0<=c&&a.Zc(c+Qf)}function Ot(a){var b,a=Gn(a,Dd);b=zn(a,An(32));return 0<=b?a.substr(0,b-0):a}
function ei(a,b,c){if(!a)throw new mi(vc);b=yn(b);if(0==b.length)throw new Zj(Yc);if(c){var d,e,f;d=yn(b);f=a.className;for(b=f.indexOf(d);-1!=b;){if(0==b||32==f.charCodeAt(b-1))if(c=b+d.length,e=f.length,c==e||c<e&&32==f.charCodeAt(c))break;b=f.indexOf(d,b+1)}-1==b&&(0<f.length&&(f+=ca),a.className=f+d)}else{var g,b=yn(b);e=a.className;for(c=e.indexOf(b);-1!=c;){if(0==c||32==e.charCodeAt(c-1))if(f=c+b.length,g=e.length,f==g||f<g&&32==e.charCodeAt(f))break;c=e.indexOf(b,c+1)}-1!=c&&(f=yn(e.substr(0,
c-0)),b=yn(Pt(e,c+b.length)),0==f.length?d=b:0==b.length?d=f:d=f+ca+b,a.className=d)}}function Qt(a,b){a.style.display=b?j:Af;a.setAttribute("aria-hidden",""+!b)}t(277,1,Oh);_.Sc=function(){return ij(this.pb)};_.Tc=function(){return kj(this.pb)};_.Uc=function(){return Fn(this.pb,Gf)};_.Vc=function(){return Fn(this.pb,Hf)};_.Wc=function(){return this.pb};_.Xc=function(){return this.pb.style.display!=Af};_.Yc=function(){throw new Rt;};_.Zc=function(a){this.pb.style[Je]=a};
_.$c=function(a){Qt(this.pb,a)};_._c=function(a){this.pb.style[Rg]=a};_.tS=function(){var a;if(this.pb){var b=this.pb;a=b.ownerDocument;b=b.cloneNode(!0);a=a.createElement("DIV");a.appendChild(b);outer=a.innerHTML;b.innerHTML=j;a=outer}else a="(null handle)";return a};_.pb=null;
function A(a,b,c){var d;d=Xs(c.c);if(-1==d){d=a.pb;var e=c.c,f;Ii();if(C(ge,e)&&(f=Nn(),-1!=f&&1009E3>=f))fe==fe&&(d.ondragexit=Dt);else switch(e){case "drag":d.ondrag=L;break;case "dragend":d.ondragend=L;break;case "dragenter":d.ondragenter=Dt;break;case ge:d.ondragleave=L;break;case "dragover":d.ondragover=Dt;break;case "dragstart":d.ondragstart=L;break;case "drop":d.ondrop=L;break;case "canplaythrough":case "ended":case "progress":d.removeEventListener(e,L,!1);d.addEventListener(e,L,!1);break;
default:throw"Trying to sink unknown event type "+e;}}else-1==a.lb?Ht(a.pb,d|(a.pb.__eventBits||0)):a.lb|=d;return Cq(!a.mb?a.mb=new Pq(a):a.mb,c,b)}function St(a,b,c){return Cq(!a.mb?a.mb=new Pq(a):a.mb,c,b)}function Tt(a){var b;if(a.cd())throw new Ut("Should only call onAttach when the widget is detached from the browser's document");a.kb=!0;a.pb.__listener=a;b=a.lb;a.lb=-1;0<b&&(-1==a.lb?Ht(a.pb,b|(a.pb.__eventBits||0)):a.lb|=b);a.ad();a.fd()}
function Vt(a,b){var c;switch(Xs(b.type)){case 16:case 32:if(c=(c=b.relatedTarget)?c:null,c&&On(a.pb,c))return}c=a.pb;var d,e,f;if(mp&&(f=mp.b[b.type]))d=f.b.b,e=f.b.c,f.b.b=b,f.b.c=c,a.mb&&Jq(a.mb,f.b),f.b.b=d,f.b.c=e}function Wt(a){if(!a.cd())throw new Ut("Should only call onDetach when the widget is attached to the browser's document");try{a.gd()}finally{try{a.bd()}finally{a.pb.__listener=null,a.kb=!1}}}
function gj(a){if(a.ob)if(y(a.ob,70))a.ob.hd(a);else{if(a.ob)throw new Ut("This widget's parent does not implement HasWidgets");}else if(Fi(),Ct(Xt.b,a)){Fi();try{a.ed()}finally{li(Xt.b,a)}}}function Yt(a,b){var c;c=a.ob;if(b){if(c)throw new Ut("Cannot set a new parent without first clearing the old parent");a.ob=b;b.cd()&&a.dd()}else try{c&&c.cd()&&a.ed()}finally{a.ob=null}}t(276,277,Gh);_.ad=function(){};_.bd=function(){};_.Ic=function(a){this.mb&&Jq(this.mb,a)};_.cd=function(){return this.kb};
_.dd=function(){Tt(this)};_.Oc=function(a){Vt(this,a)};_.ed=function(){Wt(this)};_.fd=function(){};_.gd=function(){};_.kb=!1;_.lb=0;_.mb=null;_.nb=null;_.ob=null;function Zt(a){for(a=new $t(a);a.b.b<a.b.c.d-1;)au(a.b),bu(a.b)}t(275,276,Ch);_.ad=function(){cu(this,(du(),eu))};_.bd=function(){cu(this,(du(),fu))};function gu(a,b,c){gj(b);var d=a.q;hu(d,b,d.d);d=(Us(),Vs(b.pb));c.appendChild(d);Yt(b,a)}
function iu(a,b,c,d,e){var f;if(0>d||d>a.q.d)throw new ju;b.ob==a&&(f=a.jd(b),f<d&&--d);gj(b);hu(a.q,b,d);e?(e=b.pb,Gt(c,(Us(),Vs(e)),d)):(e=(Us(),Vs(b.pb)),c.appendChild(e));Yt(b,a)}function ku(a,b){var c;if(b.ob!=a)return!1;try{Yt(b,null)}finally{c=b.pb;Jn(c).removeChild(c);c=a.q;var d;d=lu(c,b);if(-1==d)throw new mu;if(0>d||d>=c.d)throw new ju;for(--c.d;d<c.d;++d)or(c.b,d,c.b[d+1]);or(c.b,c.d,null)}return!0}t(274,275,Ch);_.jd=function(a){return lu(this.q,a)};
_.kd=function(a,b,c,d){iu(this,a,b,c,d)};_.ld=function(){return new nu(this.q)};_.hd=function(a){return ku(this,a)};function Ei(a,b,c,d){var e;gj(b);e=a.q.d;a.od(b,c,d);a.kd(b,a.pb,e,!0)}function ou(a,b){if(b.ob!=a)throw new Zj("Widget must be a child of this panel.");}function pu(a,b){var c;(c=ku(a,b))&&qu(b.pb);return c}function ru(a,b,c){a=a.pb;-1==b&&-1==c?qu(a):(a.style[Mf]=fd,a.style[Se]=b+Qf,a.style[Cg]=c+Qf)}
function su(){var a=$doc.createElement(be);this.q=new tu(this);this.pb=a;this.pb.style[Mf]="relative";this.pb.style[Kf]=Ke}function qu(a){a.style[Se]=j;a.style[Cg]=j;a.style[Mf]=j}t(273,274,Ch,su);_.md=function(a){gu(this,a,this.pb)};_.hd=function(a){return pu(this,a)};_.nd=function(a,b,c){ou(this,a);this.od(a,b,c)};_.od=function(a,b,c){ru(a,b,c)};function uu(a,b){if(a.qd())throw new Ut("SimplePanel can only contain one child widget");a.rd(b)}
function vu(a,b){if(a.jb!=b)return!1;try{Yt(b,null)}finally{a.pd().removeChild(b.pb),a.jb=null}return!0}function wu(a,b){if(b!=a.jb&&(b&&gj(b),a.jb&&a.hd(a.jb),a.jb=b)){var c=(Us(),Vs(a.jb.pb));a.pd().appendChild(c);Yt(b,a)}}function xu(){this.pb=$doc.createElement(be)}t(281,275,Ch,xu);_.pd=function(){return this.pb};_.qd=function(){return this.jb};_.ld=function(){return new yu(this)};_.hd=function(a){return vu(this,a)};_.rd=function(a){wu(this,a)};_.jb=null;function zu(){zu=u;Au()}
function Bu(a,b){a.hb&&(Cu(a.gb,!1,!1),sq(a,a,b))}function Du(a){var b;if(b=a.jb)null!=a.X&&b.Zc(a.X),null!=a.Y&&b._c(a.Y)}function Eu(a,b,c){a.cb=b;a.ib=c;b-=Kn();c-=Ln();a=a.pb;a.style[Se]=b+(Si(),Qf);a.style[Cg]=c+Qf}function Fu(a){a.hb||(a.kb&&gj(a),Cu(a.gb,!0,!1))}t(280,281,Ch);_.pd=function(){return Gu?In(In(this.pb)):In(this.pb)};_.Uc=function(){return Fn(this.pb,Gf)};_.Vc=function(){return Fn(this.pb,Hf)};_.Wc=function(){return Gu?In(this.pb):Jn(In(this.pb))};_.sd=function(){this.td(!1)};
_.td=function(a){Bu(this,a)};_.Xc=function(){return!C(Ke,this.pb.style[Og])};_.Pc=function(){return!0};_.Kc=function(){};_.gd=function(){this.hb&&Cu(this.gb,!1,!0)};_.Zc=function(a){this.X=a;Du(this);0==a.length&&(this.X=null)};_.ud=function(a,b){Eu(this,a,b)};_.$c=function(a){this.pb.style[Og]=a?Pg:Ke};_.rd=function(a){wu(this,a);Du(this)};_._c=function(a){this.Y=a;Du(this);0==a.length&&(this.Y=null)};_.vd=function(){Fu(this)};_.V=!1;_.W=!1;_.X=null;_.Y=null;_.Z=null;_._=null;_.ab=!1;_.bb=!1;
_.cb=-1;_.db=!1;_.eb=null;_.fb=!1;_.hb=!1;_.ib=-1;
function Hu(a,b){var c;xu.call(this);this.$=new Iu;this.U=(Ju(),Ku);this.gb=new Lu(this);c=this.pb;var d;d=$doc.createElement(be);Gu&&(Hn(d,"<div></div>"),rn((on(),pn),new Mu(d)));c.appendChild(d);this.ud(0,0);(Gu?In(this.pb):Jn(In(this.pb)))[Dd]="gwt-PopupPanel";(Gu?In(In(this.pb)):In(this.pb))[Dd]=Lf;this.W=this.V=a;this.db=!1;c=E(tr,k,1,[b+"Top",b+"Middle",b+"Bottom"]);this.T=new Nu(c);this.T.Wc()[Dd]=j;c=Gu?In(this.pb):Jn(In(this.pb));d="gwt-DecoratedPopupPanel";if(!c)throw new mi(vc);d=yn(d);
if(0==d.length)throw new Zj(Yc);var e=c.className.split(/\s+/);if(e){var f=e[0],g=f.length;e[0]=d;for(var h=1,i=e.length;h<i;h++){var l=e[h];l.length>g&&l.charAt(g)==Fa&&0==l.indexOf(f)&&(e[h]=d+l.substring(g))}c.className=e.join(ca)}wu(this,this.T);Du(this);ei(Gu?In(In(this.pb)):In(this.pb),Lf,!1);ei(this.T.c,b+"Content",!0)}t(279,280,Ch);_.ad=function(){Tt(this.T)};_.bd=function(){Wt(this.T)};_.qd=function(){return this.T.jb};_.ld=function(){return new yu(this.T)};_.hd=function(a){return this.T.hd(a)};
_.rd=function(a){wu(this.T,a);Du(this)};_.T=null;t(278,279,Ch);_.ed=function(){Wt(this)};function Ou(){Ou=u;Pu=new Qu(Nb,0,(Ju(),Ku));Ru=new Qu(xc,1,Su);Tu=new Qu(Jc,2,Uu);Vu=E(Wu,k,58,[Pu,Ru,Tu])}function Qu(a,b,c){D.call(this,a,b);this.b=c}t(282,138,{58:1,107:1,110:1,112:1},Qu);_.b=null;var Vu,Pu,Ru,Tu;function Xu(){Xu=u;Yu=E(tr,k,1,[Cg,pf,wd])}
function Nu(a){var b;Xu();var c,d;c=this.pb=$doc.createElement(sg);this.d=$doc.createElement(vg);Ts(c,this.d);c[zd]=0;for(c=c[yd]=0;c<a.length;++c)d=(b=$doc.createElement(Hg),b[Dd]=a[c],Ts(b,Zu(a[c]+"Left")),Ts(b,Zu(a[c]+Pb)),Ts(b,Zu(a[c]+"Right")),b),Ts(this.d,d),1==c&&(this.c=In(zt(d,1)));this.pb[Dd]="gwt-DecoratorPanel"}function Zu(a){var b,c;c=$doc.createElement(wg);b=$doc.createElement(be);var d=(Us(),Vs(b));c.appendChild(d);c[Dd]=a;b[Dd]=a+"Inner";return c}t(284,281,Rh,Nu);_.pd=function(){return this.c};
_.c=null;_.d=null;var Yu;t(283,284,Rh);t(285,1,{});function du(){du=u;eu=new $u;fu=new av}function bv(a){Nq.call(this,a)}function cu(a,b){du();var c,d,e;c=null;for(e=a.ld();e.Lc();){d=e.Mc();try{b.wd(d)}catch(f){if(f=ii(f),y(f,120))d=f,!c&&(c=new Lq),Mq(c,d);else throw f;}}if(c)throw new bv(c);}t(286,212,uh,bv);var eu,fu;function $u(){}t(287,1,{},$u);_.wd=function(a){a.dd()};function av(){}t(288,1,{},av);_.wd=function(a){a.ed()};t(291,276,jh);_.Ac=function(a){return A(this,a,(jq(),jq(),kq))};
_.Bc=function(a){return A(this,a,(Oi(),Oi(),Pi))};_.Cc=function(a){return A(this,a,(nq(),nq(),oq))};_.Dc=function(a){return A(this,a,(Qi(),Qi(),Ri))};_.dd=function(){Tt(this);-1==this.pb.tabIndex&&(this.pb.tabIndex=0)};t(290,291,{12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,46:1,48:1,52:1,57:1,60:1,63:1,64:1,65:1,66:1,67:1,68:1,69:1,72:1,76:1,77:1,78:1,79:1,80:1,82:1});
function cv(a){var b;this.pb=(b=$doc.createElement("BUTTON"),b.type=xd,b);this.pb[Dd]="gwt-Button";Hn(this.pb,a)}t(289,290,{12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,46:1,48:1,52:1,57:1,59:1,60:1,63:1,64:1,65:1,66:1,67:1,68:1,69:1,72:1,76:1,77:1,78:1,79:1,80:1,82:1},cv);
function dv(){this.q=new tu(this);this.f=$doc.createElement(sg);this.e=$doc.createElement(vg);Ts(this.f,this.e);this.pb=this.f}t(292,274,Ch);_.e=null;_.f=null;function ev(a,b){var c;if(a.i)throw new Ut("Composite.initWidget() may only be called once.");gj(b);c=b.pb;a.pb=c;var d;Us();try{d=!!c&&!!c.__gwt_resolve}catch(e){d=!1}d&&((Us(),c).__gwt_resolve=fv(a));a.i=b;Yt(b,a)}
function gv(a){if(-1!=a.lb){var b=a.i,c=a.lb;-1==b.lb?Ht(b.pb,c|(b.pb.__eventBits||0)):b.lb|=c;a.lb=-1}a.i.dd();a.pb.__listener=a;a.fd()}t(293,276,dh);_.cd=function(){return this.i?this.i.cd():!1};_.dd=function(){gv(this)};_.Oc=function(a){Vt(this,a);this.i.Oc(a)};_.ed=function(){this.i.ed()};_.Yc=function(){return this.pb=this.i.Yc()};_.i=null;
function hv(a,b,c){a.d=!1;c?Hn(a.b,b):a.b.textContent=b||j;if(a.e!=a.c)switch(a.e=a.c,b=a.b,a.c.d){case 0:b[Zd]=eg;break;case 1:b[Zd]=$e;break;case 2:Yq(b)!=($q(),cr)&&(b[Zd]=j)}}function iv(a){this.b=a;this.d=!1;this.e=this.c=Yq(a)}t(294,1,{},iv);_.b=null;_.c=null;_.d=!1;_.e=null;function Ki(){this.pb=jv()}t(295,281,vh,Ki);_.Ac=function(a){return A(this,a,(jq(),jq(),kq))};_.Bc=function(a){return A(this,a,(Oi(),Oi(),Pi))};_.Cc=function(a){return A(this,a,(nq(),nq(),oq))};
_.Dc=function(a){return A(this,a,(Qi(),Qi(),Ri))};function kv(a,b,c,d){b=a.e.b.d.rows[b].cells[c];var e,c=In(b);e=null;c&&(c=Lt(c),e=0>c?null:Ps(a.j.c,c));e?lv(a,e):d&&Hn(b,j);return b}function lv(a,b){var c;if(b.ob!=a)return!1;try{Yt(b,null)}finally{c=b.pb;Jn(c).removeChild(c);var d=a.j,e;e=Lt(c);c[dd]=null;c=d.c;mv(e,c.d);or(c.c,e,null);d.b=new Mt(e,d.b)}return!0}t(297,275,Sh);_.ld=function(){return new nv(this)};_.hd=function(a){return lv(this,a)};_.d=null;_.e=null;_.f=null;_.i=null;
function ov(a){if(0>=a.c)throw new pv("Row index: 0, Row size: "+a.c);if(0>=a.b)throw new pv("Column index: 0, Column size: "+a.b);}
function qv(){this.j=new Kt;this.i=$doc.createElement(sg);this.d=$doc.createElement(vg);Ts(this.i,this.d);this.pb=this.i;this.e=new rv(this);var a=new sv(this);this.f&&(a.b=this.f.b);a=this.f=a;if(!a.b){a.b=$doc.createElement("colgroup");var b=a.b;Gt(a.c.i,(Us(),Vs(b)),0);Ts(a.b,$doc.createElement(Gd))}var c,d,e;if(1!=this.b){if(1<this.b)for(a=0;a<this.c;++a)for(b=this.b-1;1<=b;--b){c=b;d=void 0;d=this.c;if(a>=d||0>a)throw new pv("Row index: "+a+", Row size: "+d);if(0>c)throw new pv("Column "+c+" must be non-negative: "+
c);if(this.b<=c)throw new pv("Column index: "+c+", Column size: "+this.b);c=kv(this,a,b,!1);d=this.d.rows[a];d.removeChild(c)}else for(a=0;a<this.c;++a)for(b=this.b;1>b;++b)d=this.d.rows[a],e=(c=$doc.createElement(wg),Hn(c,wa),c),Gt(d,(Us(),Vs(e)),b);this.b=1;a=this.f;b=1;b=1<b?b:1;c=a.b.childNodes.length;if(c<b)for(;c<b;++c)d=$doc.createElement(Gd),a.b.appendChild(d);else if(c>b)for(;c>b;--c)a.b.removeChild(a.b.lastChild)}if(1!=this.c)if(1>this.c){a=this.d;b=1-this.c;d=this.b;e=$doc.createElement(wg);
e.innerHTML=wa;c=$doc.createElement(Hg);for(var f=0;f<d;f++){var g=e.cloneNode(!0);c.appendChild(g)}a.appendChild(c);for(d=1;d<b;d++)a.appendChild(c.cloneNode(!0));this.c=1}else for(;1<this.c;){a=this.c-1;c=b=void 0;c=this.b;for(b=0;b<c;++b)kv(this,a,b,!1);this.d.removeChild(this.d.rows[a]);--this.c}}t(296,297,Sh,qv);_.b=0;_.c=0;
function tv(a){var b;!a.b?b=null:a.b?b=a.b:b=a.b==(uv(),vv)?a.c.e==($q(),br)?(wv(),xv):a.c.e==ar?(wv(),yv):(wv(),zv):a.c.e==($q(),br)?(wv(),yv):a.c.e==ar?(wv(),xv):(wv(),Av);b!=a.d&&(a.d=b,a.pb.style.textAlign=!a.d?j:a.d.b)}t(300,276,Gh);_.b=null;_.c=null;_.d=null;function Bv(){this.pb=$doc.createElement(be);this.c=new iv(this.pb);this.pb[Dd]="gwt-Label"}function Cv(){Bv.call(this);hv(this.c,Sg,!1);tv(this)}
t(299,300,{12:1,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,46:1,48:1,57:1,68:1,69:1,72:1,76:1,79:1,80:1,82:1},Bv,Cv);_.Ac=function(a){return A(this,a,(jq(),jq(),kq))};_.Bc=function(a){return A(this,a,(Oi(),Oi(),Pi))};_.Cc=function(a){return A(this,a,(nq(),nq(),oq))};_.Dc=function(a){return A(this,a,(Qi(),Qi(),Ri))};
function Dv(a){var b=$doc.createElement(be);Zq(ng,b.tagName);this.pb=b;this.c=new iv(this.pb);this.pb[Dd]="gwt-HTML";hv(this.c,a,!0);tv(this)}t(298,299,{12:1,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,46:1,48:1,52:1,57:1,67:1,68:1,69:1,72:1,76:1,79:1,80:1,82:1},Dv);function Ev(a){for(;++a.c<a.e.d&&!(null!=Ps(a.e,a.c)););}function nv(a){this.d=a;this.e=this.d.j.c;Ev(this)}t(301,1,{},nv);
_.Lc=function(){return this.c<this.e.d};_.Mc=function(){var a;if(this.c>=this.e.d)throw new mu;a=Ps(this.e,this.c);this.b=this.c;Ev(this);return a};_.Nc=function(){var a;if(0>this.b)throw new Fv;a=Ps(this.e,this.b);gj(a);this.b=-1};_.b=-1;_.c=-1;_.d=null;function rv(a){this.b=a}t(302,1,{},rv);_.b=null;function sv(a){this.c=a}t(303,1,{},sv);_.b=null;_.c=null;function uv(){uv=u;vv=new Gv}var vv;function wv(){wv=u;Hv=new Iv((zo(),Ad));xv=new Iv(Se);yv=new Iv($f);zv=xv;Av=yv;Jv=zv}
var Hv,Jv,xv,Av,zv,yv;function Gv(){}t(305,1,{},Gv);function Iv(a){this.b=a}t(306,305,{},Iv);_.b=null;function Kv(){Kv=u;Lv=new Mv(pf);Nv=new Mv(Cg)}var Lv,Nv;function Mv(a){this.b=a}t(307,1,{},Mv);_.b=null;function Ov(a,b){var c;c=Pv(a);Ts(a.c,c);gu(a,b,c)}function Pv(a){var b;b=$doc.createElement(wg);b[id]=a.b.b;b.style[Ng]=a.d.b;return b}function Qv(a,b){var c,d;d=Jn(b.pb);(c=ku(a,b))&&a.c.removeChild(d);return c}
function Rv(){dv.call(this);this.b=(wv(),Jv);this.d=(Kv(),Nv);this.c=$doc.createElement(Hg);Ts(this.e,this.c);this.f[zd]=gb;this.f[yd]=gb}t(308,292,Ch,Rv);_.hd=function(a){return Qv(this,a)};_.c=null;function Sv(){Sv=u;new ai}function Tv(a,b,c,d,e){Sv();this.b=new Uv(this,a,b,c,d,e);this.pb[Dd]="gwt-Image"}function Vv(a,b,c,d,e){Sv();Tv.call(this,(ys(),new ks(a)),b,c,d,e)}
t(309,276,{12:1,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,46:1,48:1,57:1,69:1,72:1,76:1,79:1,80:1,82:1},Tv,Vv);_.Ac=function(a){return A(this,a,(jq(),jq(),kq))};_.Bc=function(a){return A(this,a,(Oi(),Oi(),Pi))};_.Cc=function(a){return A(this,a,(nq(),nq(),oq))};_.Dc=function(a){return A(this,a,(Qi(),Qi(),Ri))};_.Oc=function(a){32768==Xs(a.type)&&this.b&&(this.pb.__gwtLastUnhandledEvent=j);Vt(this,a)};
_.fd=function(){var a=this.b;C(Xe,Gn(this.pb,"__gwtLastUnhandledEvent"))&&(a.i=new Wv(a,this),rn((on(),pn),a.i))};_.b=null;t(311,1,{});_.i=null;function Xv(){Xv=u;Yv()}
function Uv(a,b,c,d,e,f){var g,h;Xv();this.c=c;this.d=d;this.f=e;this.b=f;this.e=b;g=$doc.createElement(ng);h=new Zr;Yr(Yr(Yr(h,new as("width:"+e+(Si(),Qf)+tb)),new as("height:"+f+Tf)),new as("background:url("+b.b+") no-repeat "+-c+"px "+-d+Tf));!Zv&&(Zv=new $v);b=aw;c=new as((new as(h.b.b.b)).b);h=new $r;h.b.b+="<img onload='this.__gwtLastUnhandledEvent=\"load\";' src='";b=js(b.b);Sm(h.b,b);h.b.b+="' style='";b=js(c.b);Sm(h.b,b);h.b.b+="' border='0'>";h=new cs(h.b.b);g=(Hn(g,h.b),In(g));a.kb&&(a.pb.__listener=
null);if(a.pb&&(h=a.pb,b=h.parentNode))b.insertBefore(g,h),b.removeChild(h);a.pb=g;a.kb&&(a.pb.__listener=a);-1==a.lb?Ht(a.pb,133333119|(a.pb.__eventBits||0)):a.lb|=133333119}t(310,311,{},Uv);_.b=0;_.c=0;_.d=0;_.e=null;_.f=0;function Wv(a,b){this.b=a;this.c=b}t(312,1,{},Wv);_.hc=function(){var a,b;this.c.b!=this.b||this!=this.b.i||(this.b.i=null,this.c.kb?(a=(b=$doc.createEvent("HTMLEvents"),b.initEvent(Xe,!1,!1),b),this.c.pb.dispatchEvent(a)):this.c.pb.__gwtLastUnhandledEvent=Xe)};_.b=null;_.c=null;
function bw(a,b){if(0>b||b>=a.pb.options.length)throw new ju;}function wp(a,b){bw(a,b);return a.pb.options[b].value}function cw(){this.pb=$doc.createElement("select");this.pb[Dd]="gwt-ListBox"}t(313,291,jh,cw);t(314,243,lh);function dw(a){this.b=a}t(315,314,lh,dw);_.yc=function(){};function ew(a){this.b=a}t(316,314,lh,ew);_.Ec=function(a){this.b.xd(a.i,a.b)};
function fw(a,b,c){var d;if(a.p){var e=d=$doc.createElement(Hg);Gt(a.f,(Us(),Vs(e)),b);a=(Us(),Vs(c));d.appendChild(a)}else d=zt(a.f,0),Gt(d,(Us(),Vs(c)),b)}
function gw(a,b,c){var d;hw(a,b);c&&b.b?(hw(a,null),a=b.b,b=(on(),pn),b.d=sn(b.d,[new iw(a),!1])):null!=b.d&&(a.k=new jw(a,b),c=(Ju(),Su),a.k.U=c,a.k.ab=a.i,a.k.Wc()[Dd]=He,d=Ot(a.pb),C(Ge,d)||xi(a.k,d+"Popup"),St(a.k,new ew(a),Wj?Wj:Wj=new Xj),a.o=b.d,d=a.k,a=new kw(a,b),d.pb.style[Og]=Ke,Fu(d),a.b.p?Eu(a.b.k,ij(a.b.pb)+Fn(a.b.pb,Hf)-1,kj(a.c.pb)):Eu(a.b.k,ij(a.c.pb),kj(a.b.pb)+Fn(a.b.pb,Gf)-1),d.pb.style[Og]=Pg)}function lw(a,b){if(b||!(a.n&&a.o==a.n.d))hw(a,b),a.pb.focus(),b&&a.e&&gw(a,b,!1)}
function mw(a,b){var c;a:{c=b.target;var d,e;for(e=new ci(a.j);e.c<e.e.me();)if(d=di(e),On(d.pb,c)){c=d;break a}c=null}switch(Xs(b.type)){case 1:a.pb.focus();c&&gw(a,c,!0);break;case 16:c&&lw(a,c);break;case 32:c&&lw(a,null);break;case 2048:nw(a);break;case 128:switch(c=b.keyCode||0,c){case 37:nw(a)||a.p||ow(a);b.cancelBubble=!0;b.preventDefault();break;case 39:nw(a)||(a.p?null!=a.n.d&&!a.n.d.of().of()&&(gw(a,a.n,!1),a.n.d.of()):pw(a));b.cancelBubble=!0;b.preventDefault();break;case 38:nw(a)||a.p&&
ow(a);b.cancelBubble=!0;b.preventDefault();break;case 40:nw(a)||(a.p?pw(a):null!=a.n.d&&!a.n.d.of().of()&&(gw(a,a.n,!1),a.n.d.of()));b.cancelBubble=!0;b.preventDefault();break;case 27:hw(a,null);a.k&&Bu(a.k,!1);b.cancelBubble=!0;b.preventDefault();break;case 9:hw(a,null);a.k&&Bu(a.k,!1);break;case 13:nw(a)||(gw(a,a.n,!0),b.cancelBubble=!0,b.preventDefault())}}Vt(a,b)}function qw(a,b,c){c&&hw(a,null);sq(a,b,!1);a.o=null;a.k=null}
function nw(a){var b;if(!a.n){for(b=new ci(a.j);b.c<b.e.me();){b=di(b);hw(a,b);break}return!0}return!1}function hw(a,b){var c;if(b!=a.n){if(a.n){c=a.n;var d=Ot(c.pb)+$a;ei(c.Wc(),d,!1);a.p&&(c=Jn(a.n.pb),2==At(c)&&(c=zt(c,1),ei(c,qg,!1)))}if(b){c=Ot(b.pb)+$a;ei(b.Wc(),c,!0);a.p&&(c=Jn(b.pb),2==At(c)&&(c=zt(c,1),ei(c,qg,!0)));Yk();c=a.pb;var e=new zk(b.pb),d=(Tk(),Uk),e=E(rw,k,5,[e]),f,g,h,i;f=new Qm;for(h=0,i=e.length;h<i;++h)g=e[h],Rm(Rm(f,g.b),ca);e=yn(f.b.b);c.setAttribute(d.b,e)}a.n=b}}
function pw(a){var b,c,d;if(a.n){for(b=c=Xi(a.j,a.n);;){c+=1;c==a.j.d&&(c=0);d=c==b?Ps(a.j,b):Ps(a.j,c);break}hw(a,d)}}function ow(a){var b,c,d;if(a.n){for(b=c=Xi(a.j,a.n);;){c-=1;0>c&&(c=a.j.d-1);d=c==b?Ps(a.j,b):Ps(a.j,c);break}hw(a,d)}}t(317,276,Gh);_.Oc=function(a){mw(this,a)};_.ed=function(){this.k&&Bu(this.k,!1);Wt(this)};_.xd=function(a,b){qw(this,a,b)};_.e=!1;_.f=null;_.i=!1;_.k=null;_.n=null;_.o=null;_.p=!1;function iw(a){this.b=a}t(318,1,{},iw);_.hc=function(){sw(this.b)};_.b=null;
function tw(a){this.b=a}t(319,1,{},tw);_.yc=function(){hw(this.b,null)};_.b=null;function jw(a,b){zu();this.b=a;this.c=b;Hu.call(this,!0,ef);wu(this.T,this.c.d);Du(this);this.fb=!0;this.c.d.of()}t(320,279,Ch,jw);_.Kc=function(a){var b,c;if(!a.b)switch(Xs(a.e.type)){case 4:c=a.e.target;b=this.c.c.pb;if(On(b,c)){a.b=!0;break}a.b&&hw(this.b,null)}};_.b=null;_.c=null;function kw(a,b){this.b=a;this.c=b}t(321,1,{},kw);_.b=null;var uw=_.c=null;
function vw(){vw=u;uw=new Xr((ys(),new ks("")),5,9)}function ww(a,b){this.pb=$doc.createElement(wg);var c=Ot(this.pb)+$a;ei(this.Wc(),c,!1);this.pb.textContent=a||j;this.pb[Dd]="gwt-MenuItem";var c=this.pb,d;d=$doc;!d.gwt_uid&&(d.gwt_uid=1);d="gwt-uid-"+d.gwt_uid++;c.setAttribute("id",d);Yk();this.pb.setAttribute(ag,Fl.b);this.b=b}t(324,277,{52:1,65:1,67:1,68:1,69:1,73:1,80:1},ww);_.b=null;_.c=null;_.d=null;
function xw(){var a;this.pb=$doc.createElement(wg);this.pb[Dd]="gwt-MenuItemSeparator";a=$doc.createElement(be);Ts(this.pb,a);a[Dd]="menuSeparatorInner"}t(325,277,Oh,xw);function yw(){var a,b,c,d,e;b=null.of();e=Mi();d=Ni();b[ae]=(co(),Af);b[Rg]=0+(Si(),Qf);b[Je]=hb;c=$doc;c=(C(c.compatMode,Ob)?c.documentElement:c.body).scrollWidth||0;a=$doc;a=(C(a.compatMode,Ob)?a.documentElement:a.body).scrollHeight||0;b[Rg]=(c>e?c:e)+Qf;b[Je]=(a>d?a:d)+Qf;b[ae]="block"}function Iu(){}t(326,1,{},Iu);_.Gc=function(){yw()};
function zw(a){this.b=a}t(327,1,{},zw);_.Kc=function(a){var b=this.b,c,d;if(a.b||!b.fb&&a.c)b.db&&(a.b=!0);else if(b.Kc(a),!a.b){d=a.e;c=d.target;var e;try{e=!!c&&!!c.nodeType}catch(f){e=!1}(c=e&&c&&1==c.nodeType?On(b.pb,c):!1)&&(a.c=!0);b.db&&(a.b=!0);switch(Xs(d.type)){case 4:case 1048576:if(Hi){a.c=!0;break}if(!c&&b.V){b.td(!0);break}break;case 8:case 64:case 1:case 2:case 4194304:if(Hi){a.c=!0;break}break;case 2048:d=d.target,b.db&&!c&&d&&(d.blur&&d!=$doc.body&&d.blur(),a.b=!0)}}};_.b=null;
function Aw(a){this.b=a}t(328,1,{},Aw);_.b=null;function Ju(){Ju=u;Ku=new Bw(Nb,0);Su=new Bw(xc,1);Uu=new Bw(Jc,2);Cw=E(Dw,k,74,[Ku,Su,Uu])}function Bw(a,b){D.call(this,a,b)}t(329,138,{74:1,107:1,110:1,112:1},Bw);var Cw,Ku,Su,Uu;function Ew(a){a.k?a.b.bb&&($doc.body.appendChild(a.b.Z),zu(),a.i=lt(a.b.$),yw(),a.c=!0):a.c&&($doc.body.removeChild(a.b.Z),zu(),ni(a.i.b),a.i=null,a.c=!1)}
function Fw(a){a.k||(Ew(a),a.d||(Fi(),pu(Gi(null),a.b)),zu());Gw((zu(),a.b.pb),"rect(auto, auto, auto, auto)");a.b.pb.style[Kf]=Pg}function Hw(a,b){var c,d,e,f,g,h;a.k||(b=1-b);c=f=e=g=0;d=H(b*a.e);h=H(b*a.f);switch(a.b.U.d){case 2:f=a.f;c=d;break;case 0:g=a.e-d>>1;e=a.f-h>>1;f=e+h;c=g+d;break;case 1:f=h,c=d}Gw((zu(),a.b.pb),"rect("+g+Sf+f+Sf+c+Sf+e+"px)")}
function Cu(a,b,c){a.d=c;oj(a);a.j&&(Yj(a.j),a.j=null,Fw(a));a.b.hb=b;var d=a.b;d.eb&&(ni(d.eb.b),d.eb=null);d._&&(ni(d._.b),d._=null);if(d.hb){d.eb=$s(new zw(d));var e;e=new Aw(d);ft();e=gt?Cq(gt.b,(!Bq&&(Bq=new Xj),Bq),e):null;d._=e}c=!c&&a.b.ab;a.b.U!=(Ju(),Ku)&&!b&&(c=!1);a.k=b;c?b?(Ew(a),a.b.pb.style[Mf]=fd,-1!=a.b.ib&&a.b.ud(a.b.cb,a.b.ib),Gw((zu(),a.b.pb),Xf),Fi(),b=Gi(null),gu(b,a.b,b.pb),a.j=new Iw(a),Qj(a.j,1)):Cj(a,200):(Ew(a),a.k?(a.b.pb.style[Mf]=fd,-1!=a.b.ib&&a.b.ud(a.b.cb,a.b.ib),
Fi(),b=Gi(null),gu(b,a.b,b.pb)):a.d||(Fi(),pu(Gi(null),a.b)),zu(),a.b.pb.style[Kf]=Pg)}function Lu(a){var b=(Hj(),Kj);this.n=new Gj(this);this.u=b;this.b=a}t(330,17,{},Lu);_.jc=function(){Fw(this)};_.kc=function(){this.e=Fn(this.b.pb,Gf);this.f=Fn(this.b.pb,Hf);this.b.pb.style[Kf]=Ke;Hw(this,(1+Math.cos(3.141592653589793))/2)};_.lc=function(a){Hw(this,a)};_.b=null;_.c=!1;_.d=!1;_.e=0;_.f=-1;_.i=null;_.j=null;_.k=!1;function Iw(a){Rj();this.b=a}t(331,26,{},Iw);
_.rc=function(){this.b.j=null;Cj(this.b,200)};_.b=null;function Us(){Us=u;Jw()}function Vs(a){return a.__gwt_resolve?a.__gwt_resolve():a}function fv(a){return function(){this.__gwt_resolve=Kw;return a.Yc()}}function Kw(){throw"A PotentialElement cannot be resolved twice.";}
function Jw(){function a(){}a.prototype={className:j,clientHeight:0,clientWidth:0,dir:j,getAttribute:function(a){return this[a]},href:j,id:j,lang:j,nodeType:1,removeAttribute:function(a){this[a]=void 0},setAttribute:function(a,c){this[a]=c},src:j,style:{},title:j};$wnd.GwtPotentialElementShim=a}function Fi(){Fi=u;Lw=new Mw;Nw=new ai;Xt=new Lq}function Ow(a){this.q=new tu(this);this.pb=a;Tt(this)}
function Gi(a){Fi();var b,c;c=Bi(Nw,a);b=null;if(null!=a&&!(b=$doc.getElementById(a)))return null;if(c&&(!b||c.pb==b))return c;if(0==Nw.e){var d=new Pw;Uj();Vj(Wj?Wj:Wj=new Xj,d)}!b?c=new Qw:c=new Ow(b);x(Nw,a,c);Mq(Xt,c);return c}t(333,273,Ch,Ow);var Lw,Nw,Xt;function Mw(){}t(334,1,{},Mw);_.wd=function(a){a.cd()&&a.ed()};function Pw(){}t(335,1,{},Pw);_.Ec=function(){Fi();try{cu(Xt,Lw)}finally{Rw(Xt.b),Rw(Nw)}};function Qw(){Ow.call(this,$doc.body)}t(336,333,Ch,Qw);
_.od=function(a,b,c){b-=Kn();c-=Ln();ru(a,b,c)};function yu(a){this.d=a;this.b=!!this.d.jb}t(337,1,{},yu);_.Lc=function(){return this.b};_.Mc=function(){if(!this.b||!this.d.jb)throw new mu;this.b=!1;return this.c=this.d.jb};_.Nc=function(){this.c&&this.d.hd(this.c)};_.c=null;_.d=null;function Sw(a,b){a.pb[Mg]=null!=b?b:j}t(340,291,Bh);_.Oc=function(a){0!=(Xs(a.type)&896)?Vt(this,a):Vt(this,a)};_.fd=function(){};function Tw(){Tw=u;Uw()}t(339,340,Bh);
function Vw(){Tw();var a=$doc.createElement("textarea");!Cs&&(Cs=new Bs);!As&&(As=new zs);this.pb=a;this.pb[Dd]="gwt-TextArea"}t(338,339,Bh,Vw);function Ww(){var a;Tw();var b=(a=$doc.createElement("INPUT"),a.type=xg,a);!Cs&&(Cs=new Bs);!As&&(As=new zs);this.pb=b;this.pb[Dd]="gwt-TextBox"}t(341,339,Bh,Ww);function Uw(){Uw=u;Xw=new Yw;Zw=new $w;ax=new bx;cx=new dx;ex=E(fx,k,81,[Xw,Zw,ax,cx])}t(342,138,wh);var ex,Xw,Zw,ax,cx;function Yw(){D.call(this,Nb,0)}t(343,342,wh,Yw);
function $w(){D.call(this,lc,1)}t(344,342,wh,$w);function bx(){D.call(this,nc,2)}t(345,342,wh,bx);function dx(){D.call(this,Ic,3)}t(346,342,wh,dx);function gx(a,b){var c,d;c=$doc.createElement(Hg);d=$doc.createElement(wg);d[id]=a.b.b;d.style[Ng]=a.c.b;var e=(Us(),Vs(d));c.appendChild(e);Ts(a.e,c);gu(a,b,d)}function hx(){dv.call(this);this.b=(wv(),Jv);this.c=(Kv(),Nv);this.f[zd]=gb;this.f[yd]=gb}t(347,292,Ch,hx);_.hd=function(a){var b;b=Jn(a.pb);(a=ku(this,a))&&this.e.removeChild(Jn(b));return a};
function ix(a,b){if(0>b||b>=a.d)throw new ju;return a.b[b]}function lu(a,b){var c;for(c=0;c<a.d;++c)if(a.b[c]==b)return c;return-1}function hu(a,b,c){var d,e;if(0>c||c>a.d)throw new ju;if(a.d==a.b.length){e=v(jx,k,82,2*a.b.length,0);for(d=0;d<a.b.length;++d)or(e,d,a.b[d]);a.b=e}++a.d;for(d=a.d-1;d>c;--d)or(a.b,d,a.b[d-1]);or(a.b,c,b)}function tu(a){this.c=a;this.b=v(jx,k,82,4,0)}t(348,1,{},tu);_.ld=function(){return new nu(this)};_.b=null;_.c=null;_.d=0;
function au(a){if(a.b>=a.c.d)throw new mu;return a.c.b[++a.b]}function bu(a){if(0>a.b||a.b>=a.c.d)throw new Fv;a.c.c.hd(a.c.b[a.b--])}function nu(a){this.c=a}t(349,1,{},nu);_.Lc=function(){return this.b<this.c.d-1};_.Mc=function(){return au(this)};_.Nc=function(){bu(this)};_.b=-1;_.c=null;function Yv(){Yv=u;aw=(ys(),new ks(jn()+"clear.cache.gif"))}var aw,Zv=null;function $v(){}t(351,1,{},$v);function kx(){kx=u;Yv()}function lx(a,b,c,d,e){kx();this.e=a;this.c=b;this.d=c;this.f=d;this.b=e}
function mx(a,b,c){kx();lx.call(this,(ys(),new ks(a)),b,0,c,16)}t(352,285,{},lx,mx);_.b=0;_.c=0;_.d=0;_.e=null;_.f=0;function nx(){return function(){var a=this.parentNode;a.onfocus&&$wnd.setTimeout(function(){a.focus()},0)}}
function jv(){var a=ox?ox:ox=nx(),b=$doc.createElement(be);b.tabIndex=0;var c=$doc.createElement("input");c.type=xg;c.tabIndex=-1;c.setAttribute(ag,Nf);var d=c.style;d.opacity=0;d.height=ob;d.width=ob;d.zIndex=-1;d.overflow=Ke;d.position=fd;c.addEventListener(je,a,!1);b.appendChild(c);return b}var ox=null;function Au(){Au=u;a:{var a=navigator.userAgent;if(-1!=a.indexOf("Macintosh")&&(a=/rv:([0-9]+)\.([0-9]+)/.exec(a))&&3==a.length&&1008>=1E3*parseInt(a[1])+parseInt(a[2])){Gu=!0;break a}Gu=!1}}
function Gw(a,b){a.style.clip=b;a.style[ae]=(co(),Af);a.style[ae]=j}var Gu;function Mu(a){this.b=a}t(357,1,{},Mu);_.hc=function(){this.b.style[Kf]=(oo(),md)};_.b=null;function ni(a){var b=a.b,c=a.e,d=a.d,a=a.c;0<b.c?Eq(b,new Es(b,c,d,a)):Sq(b,c,d,a)}function Iq(a,b,c){this.b=a;this.e=b;this.d=null;this.c=c}t(361,1,{},Iq);_.b=null;_.c=null;_.d=null;_.e=null;function Fq(a,b,c){this.b=a;this.e=b;this.d=null;this.c=c}t(362,1,{},Fq);_.hc=function(){Gq(this.b,this.e,this.d,this.c)};_.b=null;_.c=null;
_.d=null;_.e=null;function Es(a,b,c,d){this.b=a;this.e=b;this.d=c;this.c=d}t(363,1,{},Es);_.hc=function(){Sq(this.b,this.e,this.d,this.c)};_.b=null;_.c=null;_.d=null;_.e=null;function px(a,b){b.n!=a&&(!a.Ub&&(a.Ub=new yi),b.n=a,ri(a.Ub,b))}function qx(a){var b;b=a.cZ.e;if(-1!=zn(b,An(36)))return null;a=a.Vb.c.c++;return b=Pt(b,rx(b,An(46))+1)+j+a}function sx(a,b,c,d){0==--a.Pb&&(a.$b!=a.Nd()&&(d|=4),!a.Zb&&(d|=2),0<d&&new tx(a,b,c,Rr(d)))}function ux(a){return!a.Lb&&a.Sb?ux(a.Sb):a.Lb}
function vx(a){return!a.Nb&&a.Sb?vx(a.Sb):a.Nb}function wx(a){var b;b=new xx;if(a.Nd()){for(;a&&!y(a,97);a=a.Sb)yx(b,a.Jd(),a.Kd());y(a,97)&&yx(b,a.Jd(),a.Kd());return b}throw new zx;}function Ax(a){a.Wb=!1;a.Ud();Bx(a)}function Bx(a){if((a=y(a,97)?null:a.Sb)&&a.Wb)Ax(a),a.Hb&&y(a.Hb,92)&&(a.Hb.o=!1)}function Cx(a){return(a=a.Cd())?a:new Dx(1,1)}function Ex(a){var b;return(b=a.Dd())?new Fx(b):new Fx(a.Fd())}function Gx(a){0==a.Pb++&&(a.$b=a.Nd(),a.Zb=!0,a.Sd())}
function Hx(a){return!a.Nb?(a.Md(),!0):!1}function P(a,b){var c;c=a.Lb;a.Lb=b;b==c||b&&y(c,87)&&c.b==b.b||a.Tb.$e(b)}function Ix(a,b,c,d,e){var f,g,h,i;h=a._b;i=a.ac;g=a.Yb;f=a.Ob;a._b=b;a.ac=c;a.Yb=d;a.Ob=e;if(h!=a._b||i!=a.ac)Bx(a),new Jx(a,100);if(g!=a.Yb||f!=a.Ob)a.Md(),new Jx(a,101)}function Kx(a){a.Xb||(Gx(a),Lx(a,!0),Mx(a),a.Xb=!0,new Jx(a,102),sx(a,a,a.Sb,0),Bx(a),a.Tb.bf(a))}function Nx(){this.Vb=(up(),up(),Ox);new ai;this.Ld();this.Rb=(Px(),Qx)}t(367,1,Ih);_.zd=function(){return!1};
_.Ad=function(){return qx(this)};_.Bd=function(){return ux(this)};_.Cd=function(){return Rx(this.Tb,this)};_.Dd=function(){return this.Cd()};_.Ed=function(){return this.Ob};_.Fd=function(){return this.Pd()};_.Gd=function(){return new Sx(0,0,0,0)};_.Hd=function(){return this.Rd()};_.Id=function(){return this.Yb};_.Jd=function(){return this._b};_.Kd=function(){return this.ac};_.Ld=function(){};_.Md=function(){Ax(this)};_.Nd=function(){return this.Xb&&!!this.Sb&&this.Sb.Nd()};_.Od=function(){};
_.Pd=function(){return Cx(this)};_.Qd=function(){return(null==this.Qb&&(this.Qb=this.Ad()),this.Qb)+Da+this.Jd()+Da+this.Kd()+Da+this.Id()+Sg+this.Ed()+(this.Xb?j:",hidden")};_.Rd=function(){return Ex(this)};_.Sd=function(){};_.Td=function(){return Hx(this)};_.Ud=function(){var a=this.Tb;a.f.b=-1;a.f.c=-1};_.Vd=function(a,b){this.Wd(this._b,this.ac,a,b)};_.Wd=function(a,b,c,d){this.Xd(a,b,c,d,this.Mb,!0);this.Mb=0};_.Xd=function(a,b,c,d){Ix(this,a,b,c,d)};
_.tS=function(){return this.cZ.e+ad+this.Qd()+cd};_.Yd=function(){this.Wb=!0};_.Lb=null;_.Mb=0;_.Nb=null;_.Ob=0;_.Pb=0;_.Qb=null;_.Rb=null;_.Sb=null;_.Tb=null;_.Ub=null;_.Wb=!1;_.Xb=!0;_.Yb=0;_.Zb=!1;_.$b=!1;_._b=0;_.ac=0;
function Q(a,b,c){var d;if(-1>a.Gb.b.d)throw new Zj("Missing message: awt.12A");if(y(b,89)){if(b==a)throw new Zj("Missing message: awt.12B");a:{if(a&&!y(a,97))for(d=a.Sb;d;){if(d==b){d=!0;break a}if(y(d,97))break;d=d.Sb}d=!1}if(d)throw new Zj("Missing message: awt.12C");if(y(b,97))throw new Zj("Missing message: awt.12D");}if(b.Sb){d=b.Sb;if(!b)throw new Vm;var e=Xi(d.Gb.b,b),f;f=Ps(d.Gb.b,e);d.Hb&&d.Hb.ce(f);Tx(d,e);new Ux(d,301,f)}d=a.Gb.b.d;Gx(b);Vx(a.Gb.b,d,b);d=(b.Sb=a,b.Od(!0),Ax(a),!!a.Hb&&
y(a.Hb,92)&&(a.Hb.o=!1),sx(b,b,a,1),d);try{if(a.Hb)if(y(a.Hb,92)){var g=a.Hb;if(!b)throw new Dq("Missing message: awt.185");if(null==c||null!=c)Wx(g,c,b);else throw new Zj("Missing message: awt.92");}else a.Hb.$d(null==c?null:c,b)}catch(h){h=ii(h);if(y(h,114))throw b=h,Tx(a,d),b;throw h;}b.Ud();new Ux(a,300,b)}function Xx(a,b){var c;c=a.Zd();b.c+=c.c+c.d;b.b+=c.e+c.b;return b}function Yx(a){var b;b=a.Zd();return new Zx(b.c,b.e,a.Yb-b.d-b.c,a.Ob-b.e-b.b)}
function Lx(a,b){var c;for(c=a.Gb.b.d-1;0<=c;--c)Ps(a.Gb.b,c).Od(b)}function Tx(a,b){var c;c=Ps(a.Gb.b,b);Gx(c);c.Od(!1);Ss(a.Gb.b,b);c.Sb=null;Ax(a);a.Hb&&y(a.Hb,92)&&(a.Hb.o=!1);sx(c,c,a,1)}function $x(a){var b;b=(ay(),by);b==a.Nb||b&&b==a.Nb||(a.Nb=b,Ax(a),a.Hb&&y(a.Hb,92)&&(a.Hb.o=!1),a.Tb._e(b));for(b=0;b<a.Gb.b.d;++b)Ps(a.Gb.b,b).Td()}
function cy(a,b){var c,d;if(a.Hb)for(d=new ci(a.Gb.b);d.c<d.e.me();)c=di(d),a.Hb.ce(c);if(b)for(d=new ci(a.Gb.b);d.c<d.e.me();)c=di(d),b.$d(null,c);a.Hb=b;Ax(a);a.Hb&&y(a.Hb,92)&&(a.Hb.o=!1)}function Mx(a){if(!a.Wb){a.Hb&&a.Hb._d(a);var b,c;for(c=0;c<a.Gb.b.d;++c)b=Ps(a.Gb.b,c),b.Wb||b.Yd();a.Wb=!0}}function dy(){Nx.call(this);this.Gb=new ey;this.Kb=(up(),up(),Ox)}t(366,367,Dh);_.Cd=function(){if(!this.Hb)return null;!this.Ib&&(this.Ib=this.Hb.ae(this));return this.Ib};
_.Dd=function(){if(!this.Hb)return null;!this.Jb&&(this.Jb=this.Hb.be(this));return this.Jb};_.Zd=function(){return this.Gd()};_.Fd=function(){return Cx(this)};_.Hd=function(){return Ex(this)};_.Ld=function(){this.Tb=(up(),new fy)};_.Md=function(){Ax(this);this.Hb&&y(this.Hb,92)&&(this.Hb.o=!1)};_.Od=function(a){Lx(this,a)};_.Pd=function(){return Cx(this)};_.Rd=function(){return Ex(this)};_.Sd=function(){var a;for(a=0;a<this.Gb.b.d;++a)Gx(Ps(this.Gb.b,a))};
_.Td=function(){var a;if(!Hx(this))return!1;for(a=0;a<this.Gb.b.d;++a)Ps(this.Gb.b,a).Td();return!0};_.Ud=function(){var a,b;this.Jb=this.Ib=null;for(b=0;b<this.Gb.b.d;++b)a=Ps(this.Gb.b,b),a.Ud()};_.Yd=function(){Mx(this)};_.Hb=null;_.Ib=null;_.Jb=null;function gy(){var a=new hy;dy.call(this);cy(this,a)}t(365,366,Dh,gy);_.Ad=function(){return"panel"+this.Kb.c.e++};function iy(a,b,c){a=jy(a.Fb,b,c);a.i=!0;return new ky(a)}function ly(a){return new Dx(Fn(a.Fb.pb,Hf),Fn(a.Fb.pb,Gf))}t(364,365,Dh);
_.Ed=function(){return Fn(this.Fb.pb,Gf)};_.Id=function(){return Fn(this.Fb.pb,Hf)};_.Jd=function(){return ij(this.Fb.pb)};_.Kd=function(){return kj(this.Fb.pb)};_.Nd=function(){return this.Fb.pb.style.display!=Af};_.Vd=function(){};_.Fb=null;function my(a){if(null!=a)this.f=a;else throw new ny;}t(369,1,Kh);_.tS=function(){return this.cZ.e+"[source="+this.f+cd};_.f=null;
function oy(){oy=u;T=new ai;x(T,new U(400),new V);x(T,new U(401),new V);x(T,new U(402),new V);x(T,new U(500),new V);x(T,new U(501),new V);x(T,new U(502),new V);x(T,new U(503),new V);x(T,new U(504),new V);x(T,new U(505),new V);x(T,new U(506),new V);x(T,new U(507),new V);x(T,new U(100),new V);x(T,new U(101),new V);x(T,new U(102),new V);x(T,new U(103),new V);x(T,new U(1004),new V);x(T,new U(1005),new V);x(T,new U(800),new V);x(T,new U(801),new V);x(T,new U(200),new V);x(T,new U(201),new V);x(T,new U(202),
new V);x(T,new U(204),new V);x(T,new U(203),new V);x(T,new U(209),new V);x(T,new U(208),new V);x(T,new U(207),new V);x(T,new U(206),new V);x(T,new U(205),new V);x(T,new U(1400),new V);x(T,new U(1401),new V);x(T,new U(1402),new V);x(T,new U(300),new V);x(T,new U(301),new V);x(T,new U(1100),new V);x(T,new U(1101),new V);x(T,new U(1200),new V);x(T,new U(701),new V);x(T,new U(900),new V);x(T,new U(1001),new V);x(T,new U(601),new V)}t(368,369,Kh);_.Qd=function(){return j};
_.tS=function(){var a;a=j;y(this.f,88)&&null!=this.f&&(a=this.f,a=(null==a.Qb&&(a.Qb=a.Ad()),a.Qb),null==a&&(a=j));return this.cZ.e+ad+this.Qd()+"] on "+(0<a.length?a:this.f)};_.e=0;var T;function V(){}t(370,1,{},V);function py(a,b){var c;b&&(a.b?(c=new qy(a.b),or(c.c,c.d++,b),a.b=c):(a.b=new yi,ri(a.b,b)))}t(372,1,Kh);_.b=null;function ry(){}function sy(){}t(371,372,Kh,ry,sy);
function ty(){ty=u;uy=new Lq;vy=new Dx(0,0);Mq(uy,Kb);Mq(uy,Zb);Mq(uy,Fb);Mq(uy,"Last");Mq(uy,Pb);Mq(uy,uc);Mq(uy,Rc);Mq(uy,Zc);Mq(uy,Xb)}function Wx(a,b,c){var d;if(null==b)d=Pb;else if(d=b,!Ct(uy.b,b))throw new Zj(wy());qr(Bi(a.d,d))===qr(c)&&qr(Bi(a.c,c))===qr(d)||((b=Bi(a.d,d))&&xy(a,b,d),yy(a.b.ld(),c)&&xy(a,c,d),b=a.b,new zy(c,b.b.b),++b.c,x(a.c,c,d),x(a.d,d,c))}function Ay(a,b){return new Dx(cj(b[1].c,cj(b[2].c,b[4].c+b[0].c+b[3].c+a.f)),b[1].b+b[2].b+cj(b[0].b,cj(b[4].b,b[3].b))+a.n)}
function xy(a,b,c){By(a.b,b);li(a.c,b);li(a.d,c)}function Cy(a,b){if(!a.o){a.o=!0;var c,d,e;Dy(a.i,vy);Dy(a.j,vy);Dy(a.p,null);a.q=0;for(d=Ey(a.b,0);d.c!=d.e.b;){c=Fy(d);e=Bi(a.c,c);var f=b.Rb;e=dn(e,Pb)?0:dn(e,uc)?1:dn(e,Rc)?2:dn(e,Zc)?4:dn(e,Xb)?3:dn(e,Kb)?f.b?4:3:dn(e,Fb)?f.b?3:4:dn(e,Zb)?1:2;c.Xb?a.p[e]||(or(a.p,e,c),++a.q,a.i[e]=c.Fd(),a.j[e]=c.Hd()):a.p[e]||(a.i[e]=c.Fd(),a.j[e]=c.Hd())}0!=a.q&&(c=-1,a.p[1]&&++c,a.p[2]&&++c,a.p[0]||a.p[4]||a.p[3]?(a.f=(a.q-c-2)*a.e,++c):a.f=0,a.n=c*a.k)}}
function Gy(){ty();Hy.call(this,0)}function Hy(a){ty();up();this.b=new Iy;this.c=new ai;this.d=new ai;this.e=a;this.k=0;this.o=!1;this.p=v(Jy,k,88,5,0);this.i=v(Ky,k,90,5,0);this.j=v(Ky,k,90,5,0);this.q=this.f=this.n=0}t(373,1,{92:1,107:1},Gy,Hy);_.$d=function(a,b){Wx(this,a,b)};
_._d=function(a){Cy(this,a);if(0!=this.q)if(a=Yx(a),0>=a.c||0>=a.b){var b,c;for(c=0;5>c;++c)(b=this.p[c])&&b.Wd(a.d,a.e,0,0)}else{var d,e;b=a.d;e=a.e;this.p[1]&&(this.p[1].Vd(a.c,this.j[1].b),this.p[1].Xd(a.d,a.e,a.c,this.j[1].b,2,!0),e+=this.j[1].b+this.k);c=a.b-this.j[1].b-this.j[2].b-this.n;c=0<c?c:0;this.p[4]&&(this.p[4].Vd(this.j[4].c,c),this.p[4].Xd(a.d,e,this.j[4].c,c,2,!0),b+=this.j[4].c+this.e);d=a.c-this.j[4].c-this.j[3].c-this.f;this.p[0]&&this.p[0].Wd(b,e,0<d?d:0,c);this.p[2]&&(this.p[2].Vd(a.c,
this.j[2].b),this.p[2].Xd(a.d,a.e+a.b-this.j[2].b,a.c,this.j[2].b,2,!0));this.p[3]&&(this.p[3].Vd(this.j[3].c,c),this.p[3].Xd(a.d+a.c-this.j[3].c,e,this.j[3].c,c,2,!0))}};_.ae=function(a){var b;b=this.o;Cy(this,a);this.o=b;return 0==this.q?Xx(a,new Dx(0,0)):Xx(a,Ay(this,this.i))};_.be=function(a){var b;b=this.o;Cy(this,a);this.o=b;return Xx(a,Ay(this,this.j))};_.ce=function(a){var b;b=Bi(this.c,a);null!=b&&xy(this,a,b)};_.tS=function(){return Ly.e+"[hgap="+this.e+",vgap="+this.k+cd};_.b=null;
_.c=null;_.d=null;_.e=0;_.f=0;_.i=null;_.j=null;_.k=0;_.n=0;_.o=!1;_.p=null;_.q=0;var vy,uy;function My(a){Nx.call(this);this.Tb=(up(),new Ny(a,this))}t(374,367,{85:1,88:1,93:1,104:1,107:1},My);_.Ad=function(){return xd+this.Vb.c.b++};_.Cd=function(){return!vx(this)?new Dx(0,0):Rx(this.Tb,this)};_.Ud=function(){};t(376,1,{});t(375,376,{},function(){});function Oy(){Oy=u}
function Py(a,b){if(null==b)throw new Dq("Missing message: awt.103");var c=-1,d,e,f;f=a.Tb.b.pb;e=$doc.createElement(Jf);e.text=b;e.removeAttribute("bidiwrapped");e.value=b;d=f.options.length;(0>c||c>d)&&(c=d);c==d?f.add(e,null):(c=f.options[c],f.add(e,c))}function Qy(){Oy();Nx.call(this);new yi;this.Tb=new Ry((up(),this))}t(377,367,{86:1,88:1,93:1,104:1,107:1},Qy);_.Cd=function(){return Rx(this.Tb,this)};
_.Qd=function(){return(null==this.Qb&&(this.Qb=qx(this)),this.Qb)+Da+this._b+Da+this.ac+Da+this.Yb+Sg+this.Ob+(this.Xb?j:",hidden")+",current="+wp(this.Tb.b,this.Tb.b.pb.selectedIndex)};function Sy(){Sy=u;Ty=new Uy(255,255,255);Vy=new Uy(192,192,192);Wy=new Uy(128,128,128);Xy=new Uy(64,64,64);Yy=new Uy(0,0,0);Zy=new Uy(255,0,0);new Uy(255,175,175);$y=new Uy(255,200,0);az=new Uy(255,255,0);new Uy(0,255,0);bz=new Uy(255,0,255);cz=new Uy(0,255,255);dz=new Uy(0,0,255)}
function ez(a){var b,c;c=a.b>>16&255;b=a.b&255;a=a.b>>8&255;if(0==c&&0==b&&0==a)return new Uy(3,3,3);3>c&&0!=c?c=3:(c=H(c/0.7),c=255<c?255:c);3>b&&0!=b?b=3:(b=H(b/0.7),b=255<b?255:b);3>a&&0!=a?a=3:(a=H(a/0.7),a=255<a?255:a);return new Uy(c,a,b)}function fz(a){return new Uy(H(0.7*(a.b>>16&255)),H(0.7*(a.b>>8&255)),H(0.7*(a.b&255)))}function Uy(a,b,c){Sy();if((a&255)!=a||(b&255)!=b||(c&255)!=c)throw new Zj("Color parameter outside of expected range");this.b=c|b<<8|a<<16|-16777216}t(378,1,{87:1},Uy);
_.eQ=function(a){return y(a,87)?a.b==this.b:!1};_.hC=function(){return this.b};_.tS=function(){return gz.e+"[r="+(this.b>>16&255)+",g="+(this.b>>8&255)+",b="+(this.b&255)+cd};_.b=0;var Yy,dz,cz,Xy,Wy,Vy,bz,$y,Zy,Ty,az;function Px(){Px=u;Qx=new hz(!0);iz=new Lq;Mq(iz,"ar");Mq(iz,"fa");Mq(iz,"iw");Mq(iz,"ur")}function hz(a){this.b=a}t(379,1,Kh,hz);_.b=!1;var Qx,iz;t(381,1,{100:1,109:1});function jz(){Dx.call(this,0,0)}function Dx(a,b){this.c=a;this.b=b}function Fx(a){Dx.call(this,a.c,a.b)}
t(380,381,{90:1,100:1,107:1,109:1},jz,Dx,Fx);_.eQ=function(a){return a===this?!0:y(a,90)?a.c==this.c&&a.b==this.b:!1};_.hC=function(){var a;a=new kz;a.b=31*a.b+this.c;a.b=31*a.b+this.b;return a.b};_.tS=function(){return lz.e+"[width="+this.c+",height="+this.b+cd};_.b=0;_.c=0;function Zp(a,b,c){this.i=a;this.d=b;this.f=this.e=this.k=this.j=0;this.c=c}t(382,1,Kh,Zp);_.de=function(){return 0!=(this.f&4)};_.ee=function(){return 0!=(this.f&1)};
_.tS=function(){var a;return this.cZ.e+"[id="+this.d+",x="+this.j+",y="+this.k+(0!=this.e?",key="+this.e+(a=j,this.ee()&&(a+=",shift"),0!=(this.f&2)&&(a+=",control"),this.de()&&(a+=",meta"),a):j)+",target="+this.i+(null!=this.c?",arg="+this.c:j)+cd};_.c=null;_.d=0;_.e=0;_.f=0;_.i=null;_.j=0;_.k=0;function mz(a){var b,c;for(c=b=0;c<a.c.length;)a.c[c].Xb&&++b,++c;return b}
function nz(a,b,c,d,e,f,g){var h,i,l,d=d+a.d;switch(a.b){case 0:break;case 2:d+=c;break;case 1:d+=~~(c/2);break;case 4:d+=g?c:0;break;default:d+=g?0:c}l=b.d-1;for(i=0;i<=l;++i)c=(mv(g?i:l-i,b.d),b.c[g?i:l-i]),h=c.Hd(),c.Wd(d,e+~~((f-h.b)/2),h.c,h.b),d+=h.c+a.d}function oz(a,b){var c,d,e,f,g,h;h=a.d;g=0;for(d=a.c,e=0,f=d.length;e<f;++e)c=d[e],c.Xb&&(c=b?c.Hd():c.Fd(),g=cj(g,c.b),h+=c.c+a.d);return new Dx(h,g+2*a.e)}function hy(){pz.call(this,1,5,5)}
function pz(a,b,c){up();this.d=b;this.e=c;this.b=a}t(383,1,Kh,hy,pz);_.$d=function(){};
_._d=function(a){this.c=qz(a.Gb);if(0!=mz(this)){var b,c,d,e,f,g,h,i,l,m,n;b=Yx(a);g=a.Zd();h=a.Rb.b;l=new yi;m=f=2*this.d;n=g.e+this.e;i=0;e=!0;var o,q,w;o=a.Gb.b.d;d=new rz(o);for(w=0;w<o;++w)or(d.c,d.d++,null);for(c=this.c,o=0,w=c.length;o<w;++o)if(q=c[o],q.Sb==a){var F=d,z=Xi(a.Gb.b,q);mv(z,F.d);or(F.c,z,q)}for(d=new ci(d);d.c<d.e.me();)if((c=di(d))&&c.Xb)a=c.Hd(),!e&&m+a.c>b.c&&(nz(this,l,b.c-(m-this.d),g.c,n,i,h),l.c=v(sz,k,0,0,0),l.d=0,m=f,n+=i+this.e,i=0),e=!1,or(l.c,l.d++,c),m+=a.c+this.d,
i=cj(i,a.b);nz(this,l,b.c-(m-this.d),g.c,n,i,h)}};_.ae=function(a){this.c=qz(a.Gb);return 0==mz(this)?Xx(a,new Dx(10,10)):Xx(a,oz(this,!1))};_.be=function(a){this.c=qz(a.Gb);return 0==mz(this)?Xx(a,new Dx(10,10)):Xx(a,oz(this,!0))};_.ce=function(){};_.tS=function(){var a;switch(this.b){case 0:a=Se;break;case 2:a=$f;break;case 1:a=Ad;break;case 4:a="trailing";break;default:a="leading"}return tz.e+"[hgap="+this.d+",vgap="+this.e+",align="+a+cd};_.b=0;_.c=null;_.d=0;_.e=0;
function ay(){ay=u;by=new uz(Vb,0,12)}function uz(a,b,c){ay();this.b=null!=a?a:"Default";this.c=0<=c?c:0;this.d=0==(b&-4)?b:0}t(384,1,Kh,uz);_.b=null;_.c=0;_.d=0;var by;t(385,1,Kh);_.tS=function(){return vz.e+"[font="+this.d+"ascent="+wz(this.d).b+", descent="+wz(this.d).c+", height="+wz(this.d).d+cd};_.d=null;function xz(a){if(!a.j){Gx(a);a.sd();var b,c;for(b=0;b<a.n.d;++b)(c=Ps(a.n,b))&&xz(c);Lx(a,!1);a.j=!0;sx(a,a,a.Sb,0);new yz(a,202)}}
function zz(a){var b,c;a.Xb&&(a.Tb.sd(),a.Xb=!1);for(b=0;b<a.n.d;++b)(c=Ps(a.n,b))&&c.sd()}function Az(a){!vx(a)&&$x(a);var b=Ex(a);a.Wd(a._b,a.ac,b.c,b.b);Mx(a)}function Bz(a,b){a.o!=b&&(a.o=b)}t(387,366,Qh);_.Gd=function(){return new Sx(this.k.e,this.k.c,this.k.b,this.k.d)};_.sd=function(){zz(this)};_.Nd=function(){return this.Tb.d.hb};_.Wd=function(a,b,c,d){Ix(this,a,b,c,d);this.Mb=0};_.Xd=function(a,b,c,d,e,f){e=c!=this.Yb||d!=this.Ob;Ix(this,a,b,c,d);this.Xb&&e&&!f&&Mx(this)};_.j=!1;_.o=!1;
function Cz(a){dy.call(this);this.p=new sy;this.n=new yi;this.k=new Sx(0,0,0,0);this.Xb=!1;cy(this,new Gy);this.Tb&&Dz(this.Tb.d.I.c,a);this.Tb&&Ez(this.Tb.d,!0);Bz(this,!0)}t(386,387,Qh);_.Zd=function(){return new Sx(this.k.e,this.k.c,this.k.b,this.k.d)};_.Jd=function(){return ij(this.Tb.d.pb)};_.Kd=function(){return kj(this.Tb.d.pb)};_.Ld=function(){this.Tb=new Fz((up(),j),this)};
function Gz(a,b,c,d,e,f){var g,h;g=a.d;f?(h=ez(g),f=new Uy(H(0.7*(g.b>>16&255)),H(0.7*(g.b>>8&255)),H(0.7*(g.b&255))),(a.d=g)&&(a.e=Zf+(g.b>>16&255)+Da+(g.b>>8&255)+Da+(g.b&255)+Aa)):(h=new Uy(H(0.7*(g.b>>16&255)),H(0.7*(g.b>>8&255)),H(0.7*(g.b&255))),f=ez(g),(a.d=h)&&(a.e=Zf+(h.b>>16&255)+Da+(h.b>>8&255)+Da+(h.b&255)+Aa));--d;--e;Hz(a,b+1,c+1,d-1,e-1);(a.d=h)&&(a.e=Zf+(h.b>>16&255)+Da+(h.b>>8&255)+Da+(h.b&255)+Aa);Hz(a,b,c,d,1);Hz(a,b,c+1,1,e);(a.d=f)&&(a.e=Zf+(f.b>>16&255)+Da+(f.b>>8&255)+Da+(f.b&
255)+Aa);Hz(a,b+d,c,1,e);Hz(a,b+1,c+e,d,1)}t(388,1,{});_.tS=function(){return"Graphics"};function Iz(a){var b,c;c=cj(0,a.e);0==c?(b=a.b,c=~~(a.c.length/b),0<a.c.length%b&&++c):(c=a.e,b=~~(a.c.length/c),0<a.c.length%c&&++b);return new Dx(b,c)}function Jz(a,b,c){var d,e,f,g,h,i;a.c=qz(b.Gb);if(0==a.c.length)return new jz;g=Iz(a);h=i=0;for(e=a.c,b=0,f=e.length;b<f;++b)d=e[b],d=c?d.Hd():d.Fd(),i=cj(i,d.c),h=cj(h,d.b);return new Dx(i*g.c+a.d*(g.c-1),h*g.b+a.f*(g.b-1))}
function Kz(a,b,c,d,e){var f,g,h,i;h=d.length;a-=(h-1)*c;for(g=0,i=0;g<h;++g,b+=c)f=H(a*((g+1)/h))-i,d[g]=f,e[g]=i+b,i+=f}function Lz(){Mz.call(this,7)}function Mz(a){up();this.e=0;this.b=1;this.f=a;this.d=0}t(389,1,Kh,Lz,Mz);_.$d=function(){};
_._d=function(a){var b,c;this.c=qz(a.Gb);if(0!=this.c.length&&(b=Yx(a),!(0>=b.c||0>=b.b))){c=Iz(this);var d=c.c;c=c.b;var a=a.Rb.b,e,f,g,h,i,l,m;f=v(G,r,-1,d,1);e=v(G,r,-1,d,1);i=v(G,r,-1,c,1);l=v(G,r,-1,c,1);Kz(b.c,b.d,this.d,f,e);Kz(b.b,b.e,this.f,i,l);b=0;h=0;a:for(;b<c;++b)for(g=0;g<d;++g)if(m=a?g:d-g-1,this.c[h].Wd(e[m],l[b],f[m],i[b]),++h==this.c.length)break a}};_.ae=function(a){return Xx(a,Jz(this,a,!1))};_.be=function(a){return Xx(a,Jz(this,a,!0))};_.ce=function(){};
_.tS=function(){return Nz.e+"[hgap="+this.d+",vgap="+this.f+",rows="+this.e+",cols="+this.b+cd};_.b=0;_.c=null;_.d=0;_.e=0;_.f=0;function Fv(){Ym()}function Ut(a){Ym();this.i=a}t(391,99,eh,Fv,Ut);function zx(){Ym();this.i="Missing message: awt.151"}t(390,391,eh,zx);t(392,1,{});function Sx(a,b,c,d){this.e=a;this.c=b;this.b=c;this.d=d}t(393,1,{91:1,107:1,109:1},Sx);_.eQ=function(a){return a===this?!0:y(a,91)?a.c==this.c&&a.b==this.b&&a.d==this.d&&a.e==this.e:!1};
_.hC=function(){var a;a=31+this.e;a=31*a+this.c;a=31*a+this.b;return a=31*a+this.d};_.tS=function(){return Oz.e+"[left="+this.c+",top="+this.e+",right="+this.d+",bottom="+this.b+cd};_.b=0;_.c=0;_.d=0;_.e=0;function Pz(a){Qz.call(this,a,0)}function Qz(a,b){Nx.call(this);this.Tb=(up(),new Rz(a));this.b=b;var c=this.Tb;switch(b){case 1:var c=c.b,d=(wv(),Hv);c.b=d;tv(c);break;case 0:c=c.b;d=(wv(),xv);c.b=d;tv(c);break;case 2:c=c.b,d=(wv(),yv),c.b=d,tv(c)}}t(394,367,Ih,Pz,Qz);
_.Cd=function(){return!vx(this)?new Dx(0,0):Rx(this.Tb,this)};_.Qd=function(){var a=(null==this.Qb&&(this.Qb=qx(this)),this.Qb)+Da+this._b+Da+this.ac+Da+this.Yb+Sg+this.Ob+(this.Xb?j:",hidden")+",align=",b;b=Se;switch(this.b){case 1:b=Ad;break;case 2:b=$f}return a+b+",text=null"};_.b=0;t(397,1,Kh);_.Qd=function(){return this.k};_.tS=function(){return this.cZ.e+ad+this.Qd()+cd};_.k=null;_.n=null;
function Sz(a){var b;b=a.k+",label="+a.i;a.f||(b+=",disabled");null!=a.d&&(b+=",command="+a.d);return b}function Tz(a){this.o=(up(),up(),Ox);var b;var c;b=this.cZ.e;-1!=zn(b,An(36))?b=null:(c=this.o.c.d++,b=Pt(b,rx(b,An(46))+1)+j+c);this.k=b;this.e=new ry;this.i=a;this.f=!0;this.j=new Uz(this)}t(396,397,Kh,Tz);_.Qd=function(){return Sz(this)};_.d=null;_.f=!1;_.i=null;_.j=null;t(395,396,Hh);_.Qd=function(){return Sz(this)+(this.c?",tearOff":j)};_.c=!1;t(399,1,{101:1});
_.eQ=function(a){return a===this?!0:y(a,101)?this.b==a.b&&this.c==a.c:!1};_.hC=function(){var a;a=new kz;Vz(a,this.b);Vz(a,this.c);return a.b};function yx(a,b,c){a.b+=b;a.c+=c}function xx(){this.c=this.b=0}function Wz(a,b){this.b=a;this.c=b}function Xz(a){var b=a.c;this.b=a.b;this.c=b}t(398,399,{94:1,101:1,107:1},xx,Wz,Xz);_.eQ=function(a){return a===this?!0:y(a,94)?this.b==a.b&&this.c==a.c:!1};_.tS=function(){return Yz.e+"[x="+this.b+",y="+this.c+cd};_.b=0;_.c=0;
function Zz(a,b){if(!b)throw new Dq("Missing message: awt.70");var c=a.b;if(C(b.i,Fa)){var c=c.b.b,d=new xw,e=c.d.d;if(0>e||e>c.d.d)throw new ju;c.p&&(d.pb[Hd]=2);fw(c,e,d.pb);Vx(c.d,e,d)}else{var d=c.b.b,c=b.j.b,e=d.d.d,f,g;if(0>e||e>d.d.d)throw new ju;Vx(d.d,e,c);for(f=g=0;f<e;++f)y(Ps(d.d,f),73)&&++g;Vx(d.j,g,c);fw(d,e,c.pb);c.c=d;e=Ot(c.pb)+$a;ei(c.Wc(),e,!1);d.p&&(e=Xi(d.d,c),-1!=e&&(d=zt(d.p?d.f:zt(d.f,0),e),2==At(d)&&d.removeChild(zt(d,1)),c.pb[Hd]=2))}}
function $z(){Tz.call(this,j);new yi;this.c=!1;this.b=(up(),new aA)}t(400,395,Hh,$z);_.b=null;t(403,1,{96:1,103:1,109:1});t(402,403,{96:1,102:1,103:1,109:1});_.eQ=function(a){return a===this?!0:y(a,102)?this.d==a.d&&this.e==a.e&&this.c==a.c&&this.b==a.b:!1};_.hC=function(){var a;a=new kz;Vz(a,this.d);Vz(a,this.e);Vz(a,this.c);Vz(a,this.b);return a.b};function Zx(a,b,c,d){this.d=a;this.e=b;this.b=d;this.c=c}t(401,402,{95:1,96:1,102:1,103:1,107:1,109:1},Zx);
_.eQ=function(a){return a===this?!0:y(a,95)?a.d==this.d&&a.e==this.e&&a.c==this.c&&a.b==this.b:!1};_.tS=function(){return bA.e+"[x="+this.d+",y="+this.e+",width="+this.c+",height="+this.b+cd};_.b=0;_.c=0;_.d=0;_.e=0;t(404,367,Ih);_.Bd=function(){return null};function cA(a,b){var c;c=new dA(vx(a));return!c?null:new Dx(eA(c,"_")*b+6,wz(c.d).d+6)}function fA(a,b){var c;c=cA(a,b);return!c?Cx(a):c}function gA(a,b){var c;c=cA(a,b);return!c?Ex(a):c}
function hA(a,b){var c=a.Tb;Sw(c.b,b);c.f.b=-1;c.f.c=-1}function iA(a){jA.call(this,a,null!=a?a.length:0)}function jA(a,b){Nx.call(this);this.b=0>b?0:b;var c=this.Tb;Sw(c.b,a);c.f.b=-1;c.f.c=-1}t(405,404,Ih,iA,jA);_.Ad=function(){return"textfield"+this.Vb.c.f++};_.Cd=function(){return cA(this,Gn(this.Tb.b.pb,Mg).length)};_.Dd=function(){return!vx(this)?null:cA(this,Gn(this.Tb.b.pb,Mg).length)};_.Fd=function(){return 0<this.b?fA(this,this.b):Cx(this)};
_.Hd=function(){return 0<this.b?gA(this,this.b):Ex(this)};_.Ld=function(){this.Tb=(up(),new kA)};_.Pd=function(){return 0<this.b?fA(this,this.b):Cx(this)};_.Rd=function(){return 0<this.b?gA(this,this.b):Ex(this)};_.b=0;function up(){up=u;Ox=new lA}function cq(){var a=(up(),up(),Ox);!a.d&&(a.d=new mA)}function lA(){this.c=new nA}t(406,1,{},lA);_.b=null;_.d=null;var Ox;function nA(){}t(407,1,{},nA);_.b=0;_.c=0;_.d=0;_.e=0;_.f=0;t(408,1,{});function oA(){oA=u;pA=new qA;rA=new qA}
function sA(a,b){return b==a?!0:!b?!1:!0}function qA(){}t(409,1,{98:1},qA);_.eQ=function(a){return null==a||!y(a,98)?!1:sA(this,a)};_.hC=function(){var a;a=null.of()+";class="+null.of();a=!null.of().of()?a:a+";charset=";return bs(a)};_.tS=function(){return tA.e+"[MimeType=(null);humanPresentableName="+this.b+cd};_.b=null;var pA,rA;function uA(){uA=u;E(vA,k,98,[(oA(),rA),pA])}function wA(a){uA();this.b=a}t(410,1,{},wA);_.b=null;function xA(a){a="flavor = "+a;Ym();this.i=a}
t(411,100,{99:1,107:1,113:1,120:1},xA);function yA(a,b){oy();my.call(this,a);this.e=0;this.b=b;this.d=Vg;this.c=0}t(412,368,Kh,yA);_.Qd=function(){var a,b;a=1001==this.e?"ACTION_PERFORMED":"unknown type";b=j;0<(this.c&1)&&(b+="Shift");0<(this.c&2)&&(b+=0==b.length?"Ctrl":"+Ctrl");0<(this.c&4)&&(b+=0==b.length?"Meta":"+Meta");0<(this.c&8)&&(b+=0==b.length?"Alt":"+Alt");return a+",cmd="+this.b+",when="+Wr(this.d)+",modifiers="+b};_.b=null;_.c=0;_.d=Vg;
function Jx(a,b){oy();my.call(this,a);this.e=b}t(413,368,Kh,Jx);_.Qd=function(){var a,b;a=this.f;switch(this.e){case 100:b="COMPONENT_MOVED";break;case 101:b="COMPONENT_RESIZED";break;case 102:return"COMPONENT_SHOWN";case 103:return"COMPONENT_HIDDEN";default:return"unknown type"}return b+" ("+a.Jd()+Da+a.Kd()+ca+a.Id()+Sg+a.Ed()+Aa};function Ux(a,b,c){oy();Jx.call(this,a,b);this.b=c}t(414,413,Kh,Ux);
_.Qd=function(){var a;switch(this.e){case 300:a="COMPONENT_ADDED";break;case 301:a="COMPONENT_REMOVED";break;default:a="unknown type"}a+=",child=";var b=this.b;null==b.Qb&&(b.Qb=b.Ad());return a+b.Qb};_.b=null;function tx(a,b,c,d){oy();my.call(this,a);this.e=1400;this.c=b;this.d=c;this.b=d}t(415,368,Kh,tx);
_.Qd=function(){var a;switch(this.e){case 1400:a="HIERARCHY_CHANGED";break;case 1401:a="ANCESTOR_MOVED";break;case 1402:a="ANCESTOR_RESIZED";break;default:a="unknown type"}a+=" (";1400==this.e&&(Ur(Nr(this.b,Wg))&&(a+="PARENT_CHANGED,"),Ur(Nr(this.b,Xg))&&(a+="DISPLAYABILITY_CHANGED,"),Ur(Nr(this.b,Zg))&&(a+="SHOWING_CHANGED,"));return a+"changed="+this.c+",changedParent="+this.d+Aa};_.b=Vg;_.c=null;_.d=null;t(416,1,{});function yz(a,b){oy();Jx.call(this,a,b);this.d=null;this.b=this.c=0}
t(417,413,Kh,yz);
_.Qd=function(){var a;switch(this.e){case 200:a="WINDOW_OPENED";break;case 201:a="WINDOW_CLOSING";break;case 202:a="WINDOW_CLOSED";break;case 203:a="WINDOW_ICONIFIED";break;case 204:a="WINDOW_DEICONIFIED";break;case 205:a="WINDOW_ACTIVATED";break;case 206:a="WINDOW_DEACTIVATED";break;case 207:a="WINDOW_GAINED_FOCUS";break;case 208:a="WINDOW_LOST_FOCUS";break;case 209:a="WINDOW_STATE_CHANGED";break;default:a="unknown type"}return a+",opposite="+this.d+",oldState="+this.c+",newState="+this.b};_.b=0;
_.c=0;_.d=null;t(418,1,{});function zA(a){if(null==a)throw new Vm;}t(419,418,{},zA);
function AA(){AA=u;BA={};BA["java.vendor"]=we;BA["package.restrict.access.sun"]=Lg;BA["sun.java.launcher"]=qc;BA["sun.management.compiler"]=we;BA["os.name"]=qc;BA[" sun.boot.class.path"]=qc;BA["path.separator.applet"]=qc;BA["java.vm.specification.vendor"]=we;BA["java.runtime.version"]=qc;BA["http.proxyPort"]=qc;BA["user.name"]=qc;BA["user.language"]=qc;BA["os.name.applet"]=qc;BA["browser.version"]=qc;BA["java.version"]=qc;BA["user.timezone"]=qc;BA["java.endorsed.dirs"]=qc;BA["java.specification.name"]=
"GWT";BA["java.specification.version"]="2.5.0";BA[Oe]=mc}var BA;t(422,100,fh);function CA(){Ym()}function DA(a){Ym();this.i=a}t(421,422,{105:1,107:1,113:1,120:1},CA,DA);function EA(){EA=u;FA=new GA}function HA(a){var b;if(a.n){var c;b=new $r;Sm(b.b,a.i);b.b.b+=rb;c=a.b;null!=c&&0<c.length&&(b.b.b+=db,Sm(b.b,a.b));c=a.c;a=a.k;null!=c&&Sm(b.b,c);null!=a&&(b.b.b+=pa,Sm(b.b,a));b=b.b.b}else b="unknown protocol("+a.i+")://"+a.d+a.c;return b}
function IA(a){EA();var b,c,d;if(null==a)throw new CA;a=yn(a);try{d=zn(a,An(58))}catch(e){e=ii(e);if(y(e,116))throw new DA(Wm(e));throw e;}c=zn(a,An(91));if(0<=d&&(-1==c||d<c)){this.i=a.substr(0,d-0);b=this.i.charCodeAt(0);b=97<=b&&122>=b||65<=b&&90>=b;for(c=1;b&&c<this.i.length;++c)b=this.i.charCodeAt(c),b=97<=b&&122>=b||65<=b&&90>=b||48<=b&&57>=b||43==b||45==b||46==b;if(b){c=this.i;JA();var f,g,h;h=c.length;b=new KA;for(g=0;g<h;++g){f=c.charCodeAt(g);if(65<=f&&90>=f){var i=b.b;f=String.fromCharCode(f+
32&65535)}else i=b.b,f=String.fromCharCode(f);i.b+=f}this.i=b.b.b}else this.i=null,d=-1}if(null==this.i)throw new DA(fc+a);if(!this.n&&(this.n=Bi(FA,this.i),this.n||(this.n=(up(),new LA))&&x(FA,this.i,this.n),!this.n))throw new DA(fc+a);try{c=a;var l=++d,m=a.length,n,o,q,w,F,z,J,N,S,da,M,gc,zc,Rf,mb,Jd,Kd,Ld,Ta,Ac,zb;if(m<l||0>m){if(-2147483647>=m&&(l>=c.length||0>l)||!(0>l||l>=c.length)&&c.indexOf(db,l)==l&&-1==MA(c,An(47),l+2))throw new NA(m);}else{M=c.substr(l,m-l);m-=l;z=0;J=this.d;gc=this.f;
Ld=this.k;w=this.e;mb=this.j;n=this.b;zb=this.o;Ta=MA(M,An(35),0);if(0==M.indexOf(db)&&0!=M.indexOf("////")){S=2;gc=-1;z=MA(M,An(47),2);Kd=MA(M,An(63),2);-1!=Kd&&(-1==z||z>Kd)&&(z=Kd);-1==z&&(z=m,w=j);N=z;-1!=Ta&&Ta<z&&(N=Ta);var qd=An(64);Ac=M.lastIndexOf(qd,N);n=M.substr(2,N-2);-1<Ac&&(zb=M.substr(2,Ac-2),S=Ac+1);zc=MA(M,An(58),-1==Ac?S:Ac);q=zn(M,An(93));if(-1!=q)try{M.length>q+1?(o=M.charCodeAt(q+1),58==o?zc=q+1:zc=-1):zc=-1}catch(Ze){if(Ze=ii(Ze),!y(Ze,113))throw Ze;}-1==zc||zc>z?J=M.substr(S,
N-S):(J=M.substr(S,zc-S),Rf=M.substr(zc+1,N-(zc+1)),0==Rf.length?gc=-1:gc=OA(Rf,10))}-1<Ta&&(Ld=M.substr(Ta+1,m-(Ta+1)));F=-1==Ta?m:Ta;var Ub=An(63);Jd=M.lastIndexOf(Ub,F);-1<Jd?(mb=M.substr(Jd+1,F-(Jd+1)),0==Jd&&null!=w&&(C(w,j)?w=cb:w.indexOf(cb),da=rx(w,An(47))+1,w=w.substr(0,da-0)),F=Jd):0!=Ta&&(mb=null);-1<z&&(z<m&&47==M.charCodeAt(z)?w=M.substr(z,F-z):F>z&&(null==w?w=j:C(w,j)?w=cb:w.indexOf(cb),da=rx(w,An(47))+1,0==da?w=M.substr(z,F-z):w=w.substr(0,da-0)+M.substr(z,F-z)));null==w&&(w=j);null==
J&&(J=j);d=J;var te;te=w;null!=mb&&!C(mb,j)&&(null!=w?te=w+yb+mb:te=yb+mb);null==this.i&&(this.i=this.i);this.d=d;this.c=te;this.f=gc;this.k=Ld;var rd;null!=this.d&&0<this.d.length&&(this.b=this.d,-1!=this.f&&(this.b=this.b+rb+this.f));null!=this.d&&-1<(rd=rx(this.d,An(64)))?(this.o=this.d.substr(0,rd-0),this.d=Pt(this.d,rd+1)):this.o=null;null!=this.c&&-1<(rd=zn(this.c,An(63)))?(this.j=Pt(this.c,rd+1),this.e=this.c.substr(0,rd-0)):(this.j=null,this.e=this.c);this.b=n;this.o=zb;this.e=w;this.j=mb}}catch(sd){sd=
ii(sd);if(y(sd,113))throw new DA(Wm(sd));throw sd;}if(-1>this.f)throw new DA("incorrect port: "+this.f);}t(423,1,Kh,IA);_.tS=function(){return HA(this)};_.b=null;_.c=null;_.d=null;_.e=null;_.f=-1;_.i=null;_.j=null;_.k=null;_.n=null;_.o=null;var FA;t(424,1,{});function PA(a,b,c){var d,e;for(d=new QA(a.he().b);RA(d.b);)if(a=d.c=di(d.b),e=a.Le(),null==b?null==e:dn(b,e))return c&&SA(d),a;return null}t(428,1,ch);_.ge=function(a){return!!PA(this,a,!1)};
_.eQ=function(a){var b,c;if(a===this)return!0;if(!y(a,123)||this.me()!=a.me())return!1;for(a=new QA(a.he().b);RA(a.b);)if(b=a.c=di(a.b),c=b.Le(),b=b.Me(),!this.ge(c)||!TA(b,this.ie(c)))return!1;return!0};_.ie=function(a){a=PA(this,a,!1);return!a?null:a.Me()};_.hC=function(){var a,b,c;c=0;for(b=new QA(this.he().b);RA(b.b);)a=b.c=di(b.b),c+=a.hC(),c=~~c;return c};_.je=function(){return 0==this.me()};_.ke=function(){throw new UA("Put not supported on this map");};
_.le=function(a){a=PA(this,a,!0);return!a?null:a.Me()};_.me=function(){return this.he().b.e};_.tS=function(){var a,b,c,d;d="{";a=!1;for(c=new QA(this.he().b);RA(c.b);)b=c.c=di(c.b),a?d+=Ea:a=!0,d+=j+b.Le(),d+=wb,d+=j+b.Me();return d+"}"};function Rw(a){a.b=[];a.f={};a.d=!1;a.c=null;a.e=0}function Ct(a,b){var c;if(null==b)c=a.d;else if(y(b,1))c=rb+b in a.f;else a:{c=a.pe(b);if(c=a.b[c])for(var d=0,e=c.length;d<e;++d)if(a.oe(b,c[d].Le())){c=!0;break a}c=!1}return c}
function Bi(a,b){var c;if(null==b)c=a.c;else if(y(b,1))c=a.f[rb+b];else a:{c=a.pe(b);if(c=a.b[c])for(var d=0,e=c.length;d<e;++d){var f=c[d];if(a.oe(b,f.Le())){c=f.Me();break a}}c=null}return c}function x(a,b,c){if(null==b)c=VA(a,c);else if(y(b,1))c=WA(a,b,c);else a:{var d=a.pe(b),e=a.b[d];if(e)for(var f=0,g=e.length;f<g;++f){if(d=e[f],a.oe(b,d.Le())){a=d.Me();d.Ne(c);c=a;break a}}else e=a.b[d]=[];d=new XA(b,c);e.push(d);++a.e;c=null}return c}
function VA(a,b){var c;c=a.c;a.c=b;a.d||(a.d=!0,++a.e);return c}function WA(a,b,c){var d,e=a.f,b=rb+b;b in e?d=e[b]:++a.e;e[b]=c;return d}function li(a,b){var c;if(null==b)c=a.c,a.c=null,a.d&&(a.d=!1,--a.e);else if(y(b,1)){var d,e=a.f;c=rb+b;c in e&&(d=e[c],--a.e,delete e[c]);c=d}else a:{c=a.pe(b);if(d=a.b[c])for(var e=0,f=d.length;e<f;++e){var g=d[e];if(a.oe(b,g.Le())){1==d.length?delete a.b[c]:d.splice(e,1);--a.e;c=g.Me();break a}}c=null}return c}t(427,428,ch);_.ge=function(a){return Ct(this,a)};
_.he=function(){return new YA(this)};_.oe=function(a,b){return this.ne(a,b)};_.ie=function(a){return Bi(this,a)};_.ke=function(a,b){return x(this,a,b)};_.le=function(a){return li(this,a)};_.me=function(){return this.e};_.b=null;_.c=null;_.d=!1;_.e=0;_.f=null;function ai(){Rw(this)}t(426,427,Ah,ai);_.ne=function(a,b){return qr(a)===qr(b)||null!=a&&dn(a,b)};_.pe=function(a){return~~gn(a)};function GA(){Rw(this)}t(425,426,Ah,GA);function ZA(){Ym()}t(429,99,eh,ZA);
function $A(a){var b,c;b=0;for(c=a.b;c<a.j;){c=aB(a,c);if(c>=a.j)break;c=bB(a,c);++b}return b}function cB(a,b){var c;for(c=0;c<a.c.length;++c)if(a.c[c]==b)return!0;return!1}function dB(a){var b;a.b=0<=a.k&&!a.e?a.k:aB(a,a.b);a.e=!1;a.k=-1;if(a.b>=a.j)throw new ZA;b=a.b;a.b=bB(a,a.b);return a.o.substr(b,a.b-b)}
function bB(a,b){var c,d;for(d=b;d<a.j;)if(a.f){c=eB(a.o,d,a.o.length);if(c<=a.i&&cB(a,c))break;d+=65536<=c?2:1}else{c=a.o.charCodeAt(d);if(c<=a.i&&0<=zn(a.d,An(c)))break;++d}a.n&&b==d&&(a.f?(c=eB(a.o,d,a.o.length),c<=a.i&&cB(a,c)&&(d+=65536<=c?2:1)):(c=a.o.charCodeAt(d),c<=a.i&&0<=zn(a.d,An(c))&&++d));return d}
function aB(a,b){var c,d;if(null==a.d)throw new Vm;for(d=b;!a.n&&d<a.j;)if(a.f){c=eB(a.o,d,a.o.length);if(c>a.i||!cB(a,c))break;d+=65536<=c?2:1}else{c=a.o.charCodeAt(d);if(c>a.i||0>zn(a.d,An(c)))break;++d}return d}function fB(a){gB.call(this,a," \t\n\r\u000c",!1)}function hB(a){gB.call(this,a,Da,!1)}
function gB(a,b,c){this.b=0;this.k=-1;this.e=!1;this.o=a;this.j=a.length;this.d=b;this.n=c;var d;if(null==this.d)this.i=0;else{for(c=b=d=0;c<this.d.length;c+=65536<=a?2:1)a=this.d.charCodeAt(c),55296<=a&&57343>=a&&(a=eB(this.d,c,this.d.length),this.f=!0),d<a&&(d=a),++b;this.i=d;if(this.f){this.c=v(G,r,-1,b,1);for(c=0,d=0;c<b;++c,d+=65536<=a?2:1)a=eB(this.d,d,this.d.length),this.c[c]=a}}}t(430,1,{},fB,hB,gB);_.b=0;_.c=null;_.d=null;_.e=!1;_.f=!1;_.i=0;_.j=0;_.k=0;_.n=!1;_.o=null;
function iB(a){jB.call(this,a,-1,-1,null)}function kB(a,b,c){jB.call(this,a,b,c,null)}
function jB(a,b,c,d){var e;if(null==a)$wnd.alert("JSME initialization error: HTML id argument is null.");else if(e=Gi(a)){this.b=new lB;this.c=new mB(this.b,b,c,d);gu(e,this.c,e.pb);d&&jd in d&&(this.c.c=d[jd]);var a=this.c,b=a.d,f,g,h,i,l,m;b.J?nB="JSME":(nB="JME",b.C+=2);b.u=oB(b,!1);b.v=oB(b,!0);eq(b,nB+" Molecular Editor by Peter Ertl and Bruno Bienfait");b.A=ly(b);cy(b,null);b.kb||(b.Q=0);b.R||(b.R=new uz(dc,0,b.C),b.U=new dA(b.R));b.S||(b.S=new uz(dc,1,b.C),b.T=new dA(b.S));c=b.C-2;b.V||(b.V=
new uz(dc,0,c),b.W=new dA(b.V));b.k||(b.k=new uz(dc,0,b.C),b.n=new dA(b.k));b.qb=!0;b.tb=!1;b.p=!1;b.Ab=!0;b.r=!0;b.sb=!1;pB=10;b.xb=!0;try{m=qB(b.Fb,"options");null!=m&&rB(b,m);h=qB(b.Fb,"jme");null!=h&&(b.K=h);i=qB(b.Fb,"mol");null!=i&&(b._=i);g=qB(b.Fb,"depictcgi");null!=g&&(b.ub=!0);l=qB(b.Fb,xg);null!=l&&(b.ab=l,sB(b));b.j=qB(b.Fb,"atomcolors");b.i=qB(b.Fb,"atombg");f=qB(b.Fb,"depictbg");if(null!=f&&b.x){var n;var o,q,w,F;q=(Sy(),Ty);try{if(0!=f.indexOf(pa))throw new Xm("bad hex encoding");F=
OA(f.substr(1,2),16);w=OA(f.substr(3,2),16);o=OA(f.substr(5,2),16);n=q=new Uy(F,w,o)}catch(z){if(z=ii(z),y(z,113))AA(),n=q;else throw z;}b.s=n}b.wb&&b.Y&&tB(b.Y)}catch(J){if(J=ii(J),!y(J,113))throw J;}b.c=202;for(f=0;23>f;++f)uB[f]=(Sy(),$y),vB[f]=$c;vB[1]=bc;uB[1]=(Sy(),Xy);vB[2]=Jb;uB[2]=$y;vB[3]=Mb;uB[3]=Xy;vB[4]=pc;uB[4]=dz;vB[5]=wc;uB[5]=Zy;vB[9]=Yb;uB[9]=bz;vB[10]=Qb;uB[10]=bz;vB[11]=Lb;uB[11]=bz;vB[12]=ec;uB[12]=bz;vB[8]=Nc;uB[8]=fz(az);vB[7]=yc;uB[7]=$y;vB[6]=Qc;uB[6]=Xy;vB[13]=Pc;uB[13]=
Xy;vB[18]=$c;uB[18]=Xy;vB[19]=Bc;uB[19]=Xy;vB[20]=Cc;uB[20]=Xy;vB[21]=Dc;uB[21]=Xy;vB[22]=Hc;uB[22]=Xy;Mx(b);b.Z=new wB;f=a.d;f.A=ly(f);null!=f.K?(xB(f,f.K),null!=f.i&&f.Y&&yB(f.Y,f.i,!0),null!=f.j&&f.Y&&yB(f.Y,f.j,!1)):null!=f._&&zB(f,f._,!0);sB(a.d)}else $wnd.alert("JSME initialization error: HTML id "+a+" not found.")}function AB(a,b){jB.call(this,a,-1,-1,b)}t(431,1,{140:1},iB,kB,jB,AB);_.qe=function(a){BB(new CB(a,this.b,DB))};_.re=function(){rn((on(),pn),new EB(this))};_.se=function(){return this.b.G};
_.te=function(a){$wnd.alert("JSME initialization error: "+a)};_.ue=function(){var a=this.b,b;a.tb?b=FB(a,1)+xb+FB(a,2)+xb+FB(a,3):b=FB(a,0);return b};_.ve=function(){return aq(this.b)};_.we=function(){var a=this.b,b,c;b=a.Ab;a.Ab=!1;c=GB(a);a.Ab=b;sB(a);return c};_.xe=function(a){rB(this.b,a)};_.ye=function(){};_.ze=function(a){zB(this.b,a,!0)};_.Ae=function(a){xB(this.b,a)};_.Be=function(){sB(this.b)};_.Ce=function(){HB(this.b)};
_.De=function(a){var b=this.c,c,d;if(b.c!=a){b.c=a;for(d=new ci(b.b);d.c<d.e.me();)c=di(d),a?c.b=j:c.b='shape-rendering="crispEdges"'}sB(b.d)};_.Ee=function(a){this.b.G=a};_.Fe=function(a){IB(this.b,a)};_.Ge=function(a,b){var c=this.b;c.f=!1;c.Bb=new JB(c,a);KB(c.Bb);c.c=253;c.gb=!0;c.I=b;sB(c)};_.He=function(){return LB(this.b)};_.b=null;_.c=null;function EB(a){this.b=a}t(432,1,{},EB);_.hc=function(){var a,b;for(b=new ci(this.b.c.b);b.c<b.e.me();)a=di(b),Hn(a.r.pb,a.o)};_.b=null;
function MB(){var a=(NB(),OB()),b;$wnd.JavaScriptApplet.JSME=Mj(function(){var a,b=arguments,e=PB;NB();b=b&&b[0]&&("object"==typeof b[0]||typeof b[0]==pe)?b[0]:null;a:if(QB==e||RB==e&&y(b,140))e=!0;else{if(null!=b)for(b=cn(b);b&&b!=QB;b=null)if(b==e){e=!0;break a}e=!1}e?a=arguments[0]:3==arguments.length?a=new kB(arguments[0],arguments[1],arguments[2]):1==arguments.length?a=new iB(arguments[0]):4==arguments.length?a=new jB(arguments[0],arguments[1],arguments[2],arguments[3]):2==arguments.length&&
(a=new AB(arguments[0],arguments[1]));this.g=a;a.__gwtex_wrap=this;return this});b=$wnd.JavaScriptApplet.JSME.prototype={};b.alert=Mj(function(a){this.g.qe(a)});b.deferredRepaint=Mj(function(){this.g.re()});b.getHelpURL=Mj(function(){return this.g.b.G});b.initializationError=Mj(function(a){this.g.te(a)});b.jmeFile=Mj(function(){return this.g.ue()});b.molFile=Mj(function(){return this.g.ve()});b.nonisomericSmiles=Mj(function(){return this.g.we()});b.options=Mj(function(a){this.g.xe(a)});b.ping=Mj(function(){});
b.readMolFile=Mj(function(a){this.g.ze(a)});b.readMolecule=Mj(function(a){this.g.Ae(a)});b.repaint=Mj(function(){this.g.Be()});b.reset=Mj(function(){this.g.Ce()});b.setAntialias=Mj(function(a){this.g.De(a)});b.setHelpURL=Mj(function(a){this.g.Ee(a)});b.setSubstituent=Mj(function(a){this.g.Fe(a)});b.setTemplate=Mj(function(a,b){this.g.Ge(a,b)});b.smiles=Mj(function(){return this.g.He()});SB();if(a)for(p in a)void 0===$wnd.JavaScriptApplet.JSME[p]&&($wnd.JavaScriptApplet.JSME[p]=a[p])}
function ur(){TB||(TB=!0,MB())}t(433,1,{},ur);var TB=!1;function UB(a){Ym();this.i=a}t(435,422,fh,UB);function Ar(){Ym();this.i="divide by zero"}t(436,99,eh,Ar);function pr(){Ym()}function VB(a){Ym();this.i=a}t(437,99,eh,pr,VB);function eB(a,b,c){var d,e;d=WB(a,b++);if(c=55296<=d&&56319>=d&&b<c)a=e=a.charCodeAt(b),c=56320<=a&&57343>=a;return c?65536+((d&1023)<<10)+(e&1023):d}function XB(){}function YB(a){return typeof a==Ff?Nc+(0>a?-a:a):a}
function ZB(a,b){var c;c=new XB;c.e=Rb+($B(0!=a?-a:0)?YB(0!=a?-a:0):j+Vh(c));aC(0!=a?-a:0)&&bC(0!=a?-a:0,c);c.c=4;c.b=b;return c}function W(a){var b;b=new XB;b.e=Rb+($B(a)?YB(a):j+Vh(b));aC(a)&&bC(a,b);return b}function X(a,b){var c;c=new XB;c.e=Rb+($B(a)?YB(a):j+Vh(c));aC(a)&&bC(a,c);c.c=b?8:0;return c}function cC(){var a;a=new XB;a.e=Rb+($B(0)?YB(0):j+Vh(a));aC(0)&&bC(0,a);a.c=2;return a}function dC(a){var b;b=new XB;b.e=Rb+($B(a)?YB(a):j+Vh(b));aC(a)&&bC(a,b);b.c=1;return b}
function aC(a){return typeof a==Ff&&0<a}function $B(a){return null!=a&&0!=a}function bC(a,b){var c;b.d=a;if(2==a)c=String.prototype;else if(0<a)if(c=$g[b.d])c=c.prototype;else{c=$g[a]=function(){};c.cZ=b;return}else return;c.cZ=b}t(439,1,{},XB);_.tS=function(){return(0!=(this.c&2)?"interface ":0!=(this.c&1)?j:"class ")+this.e};_.b=null;_.c=0;_.d=0;_.e=null;
function eC(a){var b;b=fC;!b&&(b=fC=/^\s*[+-]?((\d+\.?\d*)|(\.\d+))([eE][+-]?\d+)?[dDfF]?\s*$/i);b=b.test(a)?parseFloat(a):Number.NaN;if(isNaN(b))throw new gC($b+a+fa);return b}
function OA(a,b){var c,d;if(null==a)throw new gC(Ef);if(2>b||36<b)throw new gC("radix "+b+" out of range");d=a.length;for(c=0<d&&45==a.charCodeAt(0)?1:0;c<d;++c){var e=a.charCodeAt(c);if(-1==(2>b||36<b?-1:48<=e&&e<48+(10>b?b:10)?e-48:97<=e&&e<b+97-10?e-97+10:65<=e&&e<b+65-10?e-65+10:-1))throw new gC($b+a+fa);}c=parseInt(a,b);if(isNaN(c))throw new gC($b+a+fa);if(-2147483648>c||2147483647<c)throw new gC($b+a+fa);return c}t(441,1,{107:1,117:1});var fC=null;function hC(a){this.b=a}
t(440,441,{107:1,110:1,111:1,117:1},hC);_.eQ=function(a){return y(a,111)&&a.b==this.b};_.hC=function(){return H(this.b)};_.tS=function(){return j+this.b};_.b=0;function ny(){Ym()}function Zj(a){Ym();this.i=a}t(442,99,Fh,ny,Zj);function ju(){Ym()}function pv(a){Ym();this.i=a}t(443,99,eh,ju,pv);function U(a){this.b=a}
function Lr(a){var b,c;if(0>a)return 0;if(0==a)return 32;b=-(a>>16)>>16&16;c=16-b;a>>=b;b=a-256>>16&8;c+=b;a<<=b;b=a-4096>>16&4;c+=b;a<<=b;b=a-16384>>16&2;c+=b;a=a<<b>>14;return c+2-(a&~(a>>1))}function Fr(a){var b,c;if(0==a)return 32;c=0;for(b=1;0==(b&a);b<<=1)++c;return c}function iC(a){var b,c;return-129<a&&128>a?(b=a+128,c=(jC(),kC)[b],!c&&(c=kC[b]=new U(a)),c):new U(a)}t(444,441,{107:1,110:1,115:1,117:1},U);_.eQ=function(a){return y(a,115)&&a.b==this.b};_.hC=function(){return this.b};
_.tS=function(){return j+this.b};_.b=0;function jC(){jC=u;kC=v(lC,k,115,256,0)}var kC;function dj(a){return 0>a?-a:a}function cj(a,b){return a>b?a:b}function mC(a){return Math.round(a)}function Vm(){Ym()}function Dq(a){Ym();this.i=a}t(447,99,{107:1,113:1,116:1,118:1,120:1},Vm,Dq);function Xh(){Xh=u;Yh=E(Wh,k,-1,[48,49,50,51,52,53,54,55,56,57,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122])}var Yh;function gC(a){Ym();this.i=a}t(449,442,Fh,gC);
function bn(a){this.b="Unknown";this.d=a;this.c=-1}t(450,1,{107:1,119:1},bn);_.tS=function(){return this.b+bb+this.d+"(Unknown Source"+(0<=this.c?rb+this.c:j)+Aa};_.b=null;_.c=0;_.d=null;function WB(a,b){return a.charCodeAt(b)}function nC(a,b){return-1!=a.lastIndexOf(b)&&a.lastIndexOf(b)==a.length-b.length}function C(a,b){return!y(b,1)?!1:""+a==b}function Zq(a,b){return null==b?!1:a==b||a.toLowerCase()==b.toLowerCase()}function zn(a,b){return a.indexOf(b)}
function MA(a,b,c){return a.indexOf(b,c)}function rx(a,b){return a.lastIndexOf(b)}function oC(a){var b=aa,c=Ug,d;for(d=0;0<=(d=c.indexOf(bd,d));)36==c.charCodeAt(d+1)?c=c.substr(0,d-0)+"$"+Pt(c,++d):c=c.substr(0,d-0)+Pt(c,++d);return a.replace(RegExp(b,qe),c)}
function pC(a,b){for(var c=RegExp(b,qe),d=[],e=0,f=a,g=null;;){var h=c.exec(f);if(null==h||f==j){d[e]=f;break}else d[e]=f.substring(0,h.index),f=f.substring(h.index+h[0].length,f.length),c.lastIndex=0,g==f&&(d[e]=f.substring(0,1),f=f.substring(1)),g=f,e++}if(0<a.length){for(c=d.length;0<c&&d[c-1]==j;)--c;c<d.length&&d.splice(c,d.length-c)}c=v(tr,k,1,d.length,0);for(e=0;e<d.length;++e)c[e]=d[e];return c}function Pt(a,b){return a.substr(b,a.length-b)}
function yn(a){return 0==a.length||a[0]>ca&&a[a.length-1]>ca?a:a.replace(/^(\s*)/,j).replace(/\s*$/,j)}function An(a){var b;return 65536<=a?(b=56320+(a-65536&1023)&65535,String.fromCharCode(55296+(a-65536>>10&1023)&65535)+String.fromCharCode(b)):String.fromCharCode(a&65535)}_=String.prototype;_.cM={1:1,107:1,108:1,110:1};_.eQ=function(a){return C(this,a)};_.hC=function(){return bs(this)};_.tS=_.toString;function qC(){qC=u;rC={};sC={}}
function bs(a){qC();var b=rb+a,c=sC[b];if(null!=c)return c;c=rC[b];if(null==c){var d,e,f,c=0;e=a.length;f=e-4;for(d=0;d<f;)c=a.charCodeAt(d+3)+31*(a.charCodeAt(d+2)+31*(a.charCodeAt(d+1)+31*(a.charCodeAt(d)+31*c)))|0,d+=4;for(;d<e;)c=31*c+WB(a,d++);c|=0}256==tC&&(rC=sC,sC={},tC=0);++tC;return sC[b]=c}var rC,tC=0,sC;function Rm(a,b){Sm(a.b,b);return a}function Qm(){this.b=new Bn}function uC(){this.b=new Bn;this.b.b+=j}t(452,1,yh,Qm,uC);_.tS=function(){return this.b.b};function $r(){this.b=new Bn}
function KA(){this.b=new Bn}function Xq(a){this.b=new Bn;Sm(this.b,a)}t(453,1,yh,$r,KA,Xq);_.tS=function(){return this.b.b};function NA(a){a="String index out of range: "+a;Ym();this.i=a}t(454,443,eh,NA);
function vC(a,b,c){var d=0,e=0,f,g,h,i,l;if(null==a||null==b)throw new Vm;i=a.cZ;g=b.cZ;if(0==(i.c&4)||0==(g.c&4))throw new VB("Must be array types");h=i.b;f=g.b;if(!(0!=(h.c&1)?h==f:0==(f.c&1)))throw new VB("Array types must match");l=a.length;f=b.length;if(0>d||0>e||0>c||d+c>l||e+c>f)throw new ju;if((0==(h.c&1)||0!=(h.c&4))&&i!=g)if(a===b&&d<e){d+=c;for(c=e+c;c-- >e;)or(b,c,a[--d])}else for(c=e+c;e<c;)or(b,e++,a[d++]);else Array.prototype.splice.apply(b,[e,c].concat(a.slice(d,d+c)))}
function Rt(){Ym()}function UA(a){Ym();this.i=a}t(456,99,eh,Rt,UA);function yy(a,b){for(var c;a.Lc();)if(c=a.Mc(),null==b?null==c:dn(b,c))return a;return null}function By(a,b){var c;return(c=yy(a.ld(),b))?(c.Nc(),!0):!1}function wC(a){var b,c,d,e;d=new Qm;b=null;d.b.b+=ad;for(c=a.ld();c.Lc();)null!=b?Sm(d.b,b):b=Ea,e=c.Mc(),Sm(d.b,e===a?"(this Collection)":j+e);d.b.b+=cd;return d.b.b}t(457,1,{});_.Ie=function(){throw new UA("Add not supported on this collection");};
_.Je=function(a){return!!yy(this.ld(),a)};_.je=function(){return 0==this.me()};_.Ke=function(a){return By(this,a)};_.tS=function(){return wC(this)};t(459,457,Uh);_.eQ=function(a){var b;if(a===this)return!0;if(!y(a,126)||a.me()!=this.me())return!1;for(a=a.ld();a.Lc();)if(b=a.Mc(),!this.Je(b))return!1;return!0};_.hC=function(){var a,b,c;a=0;for(b=this.ld();b.Lc();)c=b.Mc(),null!=c&&(a+=gn(c),a=~~a);return a};
function xC(a,b){var c;return y(b,124)&&(c=b.Le(),Ct(a.b,c))?(c=Bi(a.b,c),a.b.ne(b.Me(),c)):!1}function YA(a){this.b=a}t(458,459,Uh,YA);_.Je=function(a){return xC(this,a)};_.ld=function(){return new QA(this.b)};_.Ke=function(a){return xC(this,a)?(a=a.Le(),li(this.b,a),!0):!1};_.me=function(){return this.b.e};_.b=null;function SA(a){if(a.c)fi(a.b),li(a.d,a.c.Le()),a.c=null;else throw new Ut("Must call next() before remove().");}
function QA(a){var b;this.d=a;b=new yi;a.d&&ri(b,new yC(a));var c=a.f,d;for(d in c)if(58==d.charCodeAt(0)){var e=new zC(a,d.substring(1));b.Ie(e)}var a=a.b,f;for(f in a)if(c=parseInt(f,10),f==c){c=a[c];d=0;for(e=c.length;d<e;++d)b.Ie(c[d])}this.b=new ci(b)}t(460,1,{},QA);_.Lc=function(){return RA(this.b)};_.Mc=function(){return this.c=di(this.b)};_.Nc=function(){SA(this)};_.b=null;_.c=null;_.d=null;t(462,1,xh);_.eQ=function(a){return y(a,124)&&TA(this.Le(),a.Le())&&TA(this.Me(),a.Me())?!0:!1};
_.hC=function(){var a,b;b=a=0;null!=this.Le()&&(a=gn(this.Le()));null!=this.Me()&&(b=gn(this.Me()));return a^b};_.tS=function(){return this.Le()+wb+this.Me()};function yC(a){this.b=a}t(461,462,xh,yC);_.Le=function(){return null};_.Me=function(){return this.b.c};_.Ne=function(a){return VA(this.b,a)};_.b=null;function zC(a,b){this.c=a;this.b=b}t(463,462,xh,zC);_.Le=function(){return this.b};_.Me=function(){return this.c.f[rb+this.b]};_.Ne=function(a){return WA(this.c,this.b,a)};_.b=null;_.c=null;
function mv(a,b){(0>a||a>=b)&&AC(a,b)}function AC(a,b){throw new pv("Index: "+a+", Size: "+b);}t(464,457,Jh);_.Oe=function(){throw new UA("Add not supported on this list");};_.Ie=function(a){this.Oe(this.me(),a);return!0};_.eQ=function(a){var b,c,d;if(a===this)return!0;if(!y(a,122)||this.me()!=a.me())return!1;c=this.ld();for(d=a.ld();c.Lc();)if(a=c.Mc(),b=d.Mc(),!(null==a?null==b:dn(a,b)))return!1;return!0};
_.hC=function(){var a,b,c;b=1;for(a=this.ld();a.Lc();)c=a.Mc(),b=31*b+(null==c?0:gn(c)),b=~~b;return b};_.ld=function(){return new ci(this)};_.Qe=function(){return this.Re(0)};_.Re=function(a){return new BC(this,a)};_.Se=function(){throw new UA("Remove not supported on this list");};function RA(a){return a.c<a.e.me()}function di(a){if(a.c>=a.e.me())throw new mu;return a.e.Pe(a.d=a.c++)}function fi(a){if(0>a.d)throw new Fv;a.e.Se(a.d);a.c=a.d;a.d=-1}function ci(a){this.e=a}t(465,1,{},ci);_.Lc=function(){return RA(this)};
_.Mc=function(){return di(this)};_.Nc=function(){fi(this)};_.c=0;_.d=-1;_.e=null;function BC(a,b){var c;this.e=this.b=a;c=a.me();(0>b||b>c)&&AC(b,c);this.c=b}t(466,465,{},BC);_.Te=function(){return 0<this.c};_.Ue=function(){if(0>=this.c)throw new mu;return this.b.Pe(this.d=--this.c)};_.b=null;function CC(a){a=new QA(a.c.b);return new DC(a)}function EC(a,b){this.b=a;this.c=b}t(467,459,Uh,EC);_.Je=function(a){return Ct(this.b,a)};_.ld=function(){return CC(this)};_.me=function(){return this.c.b.e};
_.b=null;_.c=null;function DC(a){this.b=a}t(468,1,{},DC);_.Lc=function(){return RA(this.b.b)};_.Mc=function(){return(this.b.c=di(this.b.b)).Le()};_.Nc=function(){SA(this.b)};_.b=null;t(469,464,Jh);_.Oe=function(a,b){var c;c=Ey(this,a);var d=c.e;new zy(b,c.c);++d.c;++c.b;c.d=null};_.Pe=function(a){var b;b=Ey(this,a);try{return Fy(b)}catch(c){c=ii(c);if(y(c,125))throw new pv("Can't get element "+a);throw c;}};_.ld=function(){return Ey(this,0)};
_.Se=function(a){var b,c;b=Ey(this,a);try{c=Fy(b)}catch(d){d=ii(d);if(y(d,125))throw new pv("Can't remove element "+a);throw d;}FC(b);return c};function GC(a){a.c=v(sz,k,0,0,0)}function Vx(a,b,c){(0>b||b>a.d)&&AC(b,a.d);a.c.splice(b,0,c);++a.d}function ri(a,b){or(a.c,a.d++,b);return!0}function si(a){a.c=v(sz,k,0,0,0);a.d=0}function Ps(a,b){mv(b,a.d);return a.c[b]}function Xi(a,b){for(var c=0;c<a.d;++c)if(TA(b,a.c[c]))return c;return-1}
function Ss(a,b){var c;c=(mv(b,a.d),a.c[b]);a.c.splice(b,1);--a.d;return c}function qi(a,b){var c;c=Xi(a,b);if(-1==c)return!1;Ss(a,c);return!0}function ck(a,b){var c;if(b.length<a.d){c=b;var d;d=hr(0,a.d);E(c.cZ,c.cM,c.qI,d);b=d}for(c=0;c<a.d;++c)or(b,c,a.c[c]);b.length>a.d&&or(b,a.d,null);return b}function yi(){GC(this)}function rz(a){GC(this);this.c.length=a}
function qy(a){GC(this);var b=this.c,c=a.c,a=c.slice(0,a.d);E(c.cZ,c.cM,c.qI,a);Array.prototype.splice.apply(b,[0,0].concat(a));this.d=this.c.length}t(470,464,Eh,yi,rz,qy);_.Oe=function(a,b){Vx(this,a,b)};_.Ie=function(a){return ri(this,a)};_.Je=function(a){return-1!=Xi(this,a)};_.Pe=function(a){return Ps(this,a)};_.je=function(){return 0==this.d};_.Se=function(a){return Ss(this,a)};_.Ke=function(a){return qi(this,a)};_.me=function(){return this.d};_.d=0;
function Dy(a,b){var c=a.length,d;for(d=0;d<c;++d)or(a,d,b)}function Tq(){Tq=u;Uq=new HC}var Uq;function HC(){}t(473,464,mh,HC);_.Je=function(){return!1};_.Pe=function(){throw new ju;};_.me=function(){return 0};function IC(){this.b=new Date}function JC(a){return 10>a?gb+a:j+a}t(474,1,{107:1,109:1,110:1,121:1},IC);_.eQ=function(a){return y(a,121)&&Or(I(this.b.getTime()),I(a.b.getTime()))};
_.hC=function(){var a;a=I(this.b.getTime());var b,c,d,e;c=32;d=a.h&1048575;22>c?(e=d>>>c,b=a.m>>c|d<<22-c,c=a.l>>c|a.m<<22-c):44>c?(e=0,b=d>>>c-22,c=a.m>>c-22|a.h<<44-c):(b=e=0,c=d>>>c-44);b=wr(c&4194303,b&4194303,e&1048575);a=wr(a.l^b.l,a.m^b.m,a.h^b.h);return K(a)};
_.tS=function(){var a,b;b=-this.b.getTimezoneOffset();a=(0<=b?Ca:j)+~~(b/60);b=10>(0>b?-b:b)%60?gb+(0>b?-b:b)%60:j+(0>b?-b:b)%60;return(KC(),LC)[this.b.getDay()]+ca+MC[this.b.getMonth()]+ca+JC(this.b.getDate())+ca+JC(this.b.getHours())+rb+JC(this.b.getMinutes())+rb+JC(this.b.getSeconds())+" GMT"+a+b+ca+this.b.getFullYear()};_.b=null;function KC(){KC=u;LC=E(tr,k,1,"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(","));MC=E(tr,k,1,"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","))}var LC,MC;
function Mq(a,b){return null==x(a.b,b,a)}function Lq(){this.b=new ai}t(476,459,{107:1,109:1,126:1},Lq);_.Ie=function(a){return Mq(this,a)};_.Je=function(a){return Ct(this.b,a)};_.je=function(){return 0==this.b.e};_.ld=function(){return CC(new EC(this.b,new YA(this.b)))};_.Ke=function(a){return null!=li(this.b,a)};_.me=function(){return this.b.e};_.tS=function(){return wC(new EC(this.b,new YA(this.b)))};_.b=null;
function Ey(a,b){var c,d;(0>b||b>a.c)&&AC(b,a.c);if(b>=a.c>>1){d=a.b;for(c=a.c;c>b;--c)d=d.c}else{d=a.b.b;for(c=0;c<b;++c)d=d.b}return new NC(a,b,d)}function Iy(){this.b=new OC;this.c=0}t(477,469,mh,Iy);_.Ie=function(a){new zy(a,this.b);++this.c;return!0};_.Re=function(a){return Ey(this,a)};_.me=function(){return this.c};_.b=null;_.c=0;function Fy(a){if(a.c==a.e.b)throw new mu;a.d=a.c;a.c=a.c.b;++a.b;return a.d.d}
function FC(a){if(!a.d)throw new Fv;a.c==a.d?a.c=a.d.b:--a.b;var b=a.d;b.b.c=b.c;b.c.b=b.b;b.b=b.c=b;a.d=null;--a.e.c}function NC(a,b,c){this.e=a;this.c=c;this.b=b}t(478,1,{},NC);_.Lc=function(){return this.c!=this.e.b};_.Te=function(){return this.c.c!=this.e.b};_.Mc=function(){return Fy(this)};_.Ue=function(){if(this.c.c==this.e.b)throw new mu;this.d=this.c=this.c.c;--this.b;return this.d.d};_.Nc=function(){FC(this)};_.b=0;_.c=null;_.d=null;_.e=null;function OC(){this.b=this.c=this}
function zy(a,b){this.d=a;this.b=b;this.c=b.c;b.c.b=this;b.c=this}t(479,1,{},OC,zy);_.b=null;_.c=null;_.d=null;function XA(a,b){this.b=a;this.c=b}t(480,462,xh,XA);_.Le=function(){return this.b};_.Me=function(){return this.c};_.Ne=function(a){var b;b=this.c;this.c=a;return b};_.b=null;_.c=null;function mu(){Ym()}t(481,99,{107:1,113:1,118:1,120:1,125:1},mu);function TA(a,b){return qr(a)===qr(b)||null!=a&&dn(a,b)}function qz(a){var b=v(Jy,k,88,0,0);return ck(a.b,b)}function ey(){this.b=new yi}
t(483,464,Eh,ey);_.Oe=function(a,b){Vx(this.b,a,b)};_.Ie=function(a){return ri(this.b,a)};_.Je=function(a){return-1!=Xi(this.b,a)};_.Pe=function(a){return Ps(this.b,a)};_.je=function(){return 0==this.b.d};_.ld=function(){return new ci(this.b)};_.Se=function(a){return Ss(this.b,a)};_.me=function(){return this.b.d};_.tS=function(){return wC(this.b)};_.b=null;function vp(a,b,c){a=new PC(b,c,a);if(!b.zd(a,c))for(b=b.Sb;b&&!b.zd(a,c);)b=b.Sb}
function jy(a,b,c){var d;d=new QC;Li(d.r,b,c);Ei(a.f,d.r,0,0);ri(a.b,d);return d}function qB(a,b){return!a.i?null:b in a.i?a.i[b]:null}function RC(a,b,c,d){b=b.b;if(b.p!=c||b.q!=d)a.f.nd(b.r,c,d),b.p=c,b.q=d;SC(b)}
function mB(a,b,c,d){this.pb=jv();this.b=new yi;this.i=d;this.pb.style[Rg]=0>b?jb:b+Qf;this.pb.style[Je]=0>c?jb:c+Qf;this.f=new su;this.f._c(jb);this.f.Zc(jb);uu(this,this.f);this.d=a;a.Fb=this;this.e=jy(this,b,c);this.e.i=!1;A(this,this,(Ap(),Ap(),Bp));A(this,new TC(this),(jq(),jq(),kq));A(this,new UC(this),(Oi(),Oi(),Pi));A(this,new VC(this),(Qi(),Qi(),Ri));A(this,new WC(this),(Wp(),Wp(),Xp));(up(),up(),Ox).b=this}t(484,295,vh,mB);_.c=!1;_.d=null;_.e=null;_.f=null;_.i=null;_.j=!1;
function TC(a){this.b=a}t(485,1,{},TC);_.ec=function(a){var b,c,d;c=Ui(a);d=Vi(a);b=Wi(a.b);a=new XC(a);2==b&&(a.f=4);YC(this.b.d,a,c,d);this.b.j=!0};_.b=null;function UC(a){this.b=a}t(486,1,{},UC);
_.fc=function(a){var b,c,d;c=Ui(a);d=Vi(a);b=new XC(a);if(this.b.j){var a=this.b.d,e,f;if(!a.x&&a.eb&&!ZC(b)&&(a.gb=!1,c-=a.X,d-=2*a.X,e=c-a.Db,f=d-a.Eb,!(2==a.N||3==a.N||9==a.N))){if(1==a.N)b:{e=a.Y;b=c;f=d;var g,h,i,l,m,n,o;e.D=0;e.J[0]=b;e.M[0]=f;g=$C(e,0);if(0<g&&205!=e.n.c)e.D=g,g!=e.F?(e.J[e.t]=e.J[g],e.M[e.t]=e.M[g]):(e.J[e.t]=e.L,e.M[e.t]=e.O);else if(205==e.n.c){e.E=0;g=e.j[e.v];l=e.j[e.v-1];h=e.J[g]-e.J[l];i=e.M[g]-e.M[l];g=Math.sqrt(h*h+i*i);1>g&&(g=1);i/=g;h/=g;m=g/2/Math.tan(0.5235987755982988);
n=b-e.J[l];o=f-e.M[l];l=-g/2+n*h+o*i;i=o*h-n*i;if(0>l)if(1<e.v)aD(e,e.t),--e.v,e.C=!1;else if(2==e.t)0>e.M[2]-e.M[1]&&0<f-e.M[1]?e.M[2]=e.M[1]+g/2:0<e.M[2]-e.M[1]&&0>f-e.M[1]&&(e.M[2]=e.M[1]-g/2),0>e.J[2]-e.J[1]&&0<b-e.J[1]?e.J[2]=e.J[1]+0.866*g:0<e.J[2]-e.J[1]&&0>b-e.J[1]&&(e.J[2]=e.J[1]-0.866*g);else{if(2==e.z[e.j[0]]&&(m=e.G[e.j[0]][1],m==e.j[1]&&(m=e.G[e.j[0]][2]),h=e.J[e.j[0]]-e.J[m],i=e.M[e.j[0]]-e.M[m],g=Math.sqrt(h*h+i*i),1>g&&(g=1),i/=g,h/=g,n=b-e.J[m],o=f-e.M[m],b=o*h-n*i,n=e.J[e.j[1]]-
e.J[m],o=e.M[e.j[1]]-e.M[m],f=o*h-n*i,0<b&&0>f||0>b&&0<f))b=e.u,e.D=e.j[0],Y(e,0),bD(e,b),0<$C(e,e.t)&&(e.C=!0)}else{if(e.C)break b;b=-1;l<1.5*g&&(b=(1.5*g-l)*m/(1.5*g));if((0>=i?0-i:i)>b){++e.v;if(100<e.v){eq(e.n,"You are too focused on chains, enough of it for now !");--e.v;break b}e.D=e.t;Y(e,K(I(Math.round(i))));e.j[e.v]=e.t;0<$C(e,e.t)&&(e.C=!0)}}e.D=0;b=e.v;eq(e.n,b+j)}else h=b-e.J[e.F],i=f-e.M[e.F],g=Math.sqrt(h*h+i*i),1>g&&(g=1),e.J[e.t]=e.J[e.F]+25*(h/g),e.M[e.t]=e.M[e.F]+25*(i/g)}else if(cD(b)||
ZC(b)){b=a.Y;f=v(dD,k,-1,4,1);eD(b,f);g=f[0];i=f[1];h=Math.sin(3.141592653589793*e/180);e=Math.cos(3.141592653589793*e/180);for(m=1;m<=b.t;++m)n=b.J[m]*e+b.M[m]*h,l=-b.J[m]*h+b.M[m]*e,b.J[m]=n,b.M[m]=l;eD(b,f);for(m=1;m<=b.t;++m)b.J[m]+=g-f[0],b.M[m]+=i-f[1];a.N=5}else if(0==a.Y.D&&0==a.Y.E){b=a.Y;for(g=1;g<=b.t;++g)b.J[g]+=e,b.M[g]+=f;i=v(dD,k,-1,4,1);eD(b,i);g=i[0];i=i[1];if(!(0<g&&g<b.n.A.c-b.n.X&&0<i&&i<b.n.A.b-3*b.n.X))for(g=1;g<=b.t;++g)b.J[g]-=e,b.M[g]-=f;a.N=5}a.B=!1;fD(a);a.ib=!0;sB(a);a.Db=
c;a.Eb=d}}else if(a=this.b.d,!a.x&&!ZC(b)){c-=a.X;d-=2*a.X;f=!1;b=0;e=1;b:for(;e<=a.ob;++e){i=0;g=a.cb[e];l=n=m=o=l=h=void 0;h=0;n=51;for(m=1;m<=g.t;++m)l=c-g.J[m],o=d-g.M[m],l=l*l+o*o,50>l&&l<n&&(n=l,h=m);g=h;if(0==g){i=a.cb[e];l=n=m=o=l=h=void 0;h=0;n=51;for(m=1;m<=i.u;++m)l=c-i.K[m],o=d-i.N[m],l=l*l+o*o,50>l&&l<n&&(n=l,h=m);i=h}if(0<g){a.cb[e].D=g;a.cb[e].E=0;b=e;f=!0;break b}else if(0<i){a.cb[e].D=0;a.cb[e].E=i;b=e;f=!0;break b}else if(0<a.cb[e].D||0<a.cb[e].E)a.cb[e].D=0,a.cb[e].E=0,f=!0}if(f){for(e=
a.e+1;e<=a.ob;++e)a.cb[e].D=0,a.cb[e].E=0;a.B=!1;fD(a);a.ib=!0;sB(a)}0!=b&&b!=a.e&&(a.e=b,a.Y=a.cb[a.e])}this.b.pb.focus()};_.b=null;function VC(a){this.b=a}t(487,1,{},VC);
_.gc=function(a){this.b.j=!1;Ui(a);Vi(a);a=this.b.d;if(!a.x){a.gb=!1;if(1==a.N){if(205==a.c){var b=a.Y,c,d;b.C&&(c=$C(b,b.t),6>b.z[c]&&(gD(b),d=b.j[b.v-1],b.H[b.u]=c,b.I[b.u]=d,b.G[c][++b.z[c]]=d,b.G[d][++b.z[d]]=c),aD(b,b.t));b.C=!1;hD(a)}else b:{var b=a.Y,e,f;c=$C(b,b.t);if(0!=c){--b.t;for(f=1;f<b.u;++f)if(d=b.H[f],e=b.I[f],d==c&&e==b.F||d==b.F&&e==c){--b.u;--b.z[b.F];3>b.s[f]?(++b.s[f],b.B[f]=0):eq(b.n,"Maximum allowed bond order is 3 !");break b}6==b.z[c]?(--b.u,--b.z[b.F],eq(b.n,"Not possible connection !")):
(b.I[b.u]=c,b.G[c][++b.z[c]]=b.F,b.G[b.F][b.z[b.F]]=c,b.K[b.u]=K(I(mC((b.J[b.F]+b.J[c])/2))),b.N[b.u]=K(I(mC((b.M[b.F]+b.M[c])/2))))}}iD(a.Y)}else 5==a.N&&(iD(a.Y),hD(a));0<a.N&&(a.B=!1,fD(a),a.ib=!0,jD(a.Y),kD(a.Y),sB(a),a.N=0,a.f=!1)}};_.b=null;function WC(a){this.b=a}t(488,1,{},WC);var lD=_.b=null;function mD(){mD=u;lD=new Xr((ys(),new ks("")),4,4)}
function nD(){nD=u;oD={}}
function wz(a){var b,c,d,e,f,g,h,i,l,m,n,o;b=Vh(a);if(b in oD)a=oD[b];else{c=$doc.getElementsByTagName("body")[0];d=$doc.createElement(ng);e=$doc.createElement(Me);e.width=1;e.height=1;f=(mD(),lD);e.src=f.e.b;f=$doc.createTextNode("Q");var q;a&&(Si(),d.style[le]=a.c+Pf,q=a.b,q!=Vb&&(d.style[ke]=q),0!=(a.d&1)&&(d.style[ne]=td),0!=(a.d&2)&&(d.style[me]=Ne));a=(d.appendChild(f),d.appendChild(e),c.appendChild(d),g=En(Dn(d.ownerDocument),d),h=En(Dn(d.ownerDocument),d)+(d.offsetHeight||0),i=h-g,l=En(Dn(e.ownerDocument),
e)+(e.offsetHeight||0)+1,m=h-l,n=l-g,c.removeChild(d),o=new pD,o.b=n,o.c=m,o.d=i,o);oD[b]=a}return a}
function qD(){nD();var a,b,c,d,e;this.b=E(tr,k,1,["monospace","sans-serif",lg]);this.d={};this.c={};Si();this.e=$doc.getElementsByTagName("body")[0];this.f=$doc.createElement(ng);Hn(this.f,this.i);this.f.style[le]="72.0px";for(b=this.b,c=0,d=b.length;c<d;++c)a=b[c],this.f.style[ke]=a,this.e.appendChild(this.f),e=this.f.offsetWidth||0,this.d[a]=e,this.c[a]=this.f.offsetHeight||0,this.e.removeChild(this.f)}t(491,1,{},qD);_.e=null;_.f=null;_.i="mmmmmmmmmmlli";var oD;function pD(){}t(492,1,{},pD);
_.b=0;_.c=0;_.d=0;function ZC(a){return 0!=(a.f&4)?!0:a.b&&y(a.b,45)?!!a.b.b.metaKey:!1}function cD(a){return a.b&&y(a.b,45)?!!a.b.b.shiftKey:!1}function XC(a){Zp.call(this,null,0,null);this.b=a}function PC(a,b,c){Zp.call(this,a,0,b);this.b=c}t(493,382,Kh,XC,PC);_.de=function(){return ZC(this)};_.ee=function(){return cD(this)};_.b=null;
function eA(a,b){var c;if(b in a.c)return a.c[b];c=a.b;var d=a.d,e;null==b||!b.length?c=0:(c.e.appendChild(c.f),Hn(c.f,b),d&&(Si(),c.f.style[le]=d.c+Pf,e=d.b,e!=Vb&&(c.f.style[ke]=e),0!=(d.d&1)&&(c.f.style[ne]=td),0!=(d.d&2)&&(c.f.style[me]=Ne)),c.f.style[Qg]=Df,d=c.f.offsetWidth||0,c.e.removeChild(c.f),c=d);return a.c[b]=c}function dA(a){this.d=a;this.c={};this.b=new qD}t(494,385,Kh,dA);_.b=null;function ky(a){this.b=a}t(495,392,{},ky);_.b=null;function rD(a,b){this.b=a;this.c=b}t(496,1,{},rD);
_.b=null;_.c=null;function sD(){sD=u;var a=tD=new qD;Si();a.i="9p";a.f.style[ke]=lg;a.f.style[le]="144.0pt";Hn(a.f,a.i);a.e.appendChild(a.f);a.e.removeChild(a.f);a.f.style[le]="144.0px";a.e.appendChild(a.f);a.e.removeChild(a.f)}function uD(a,b){a.n=!0;if(a.i){a.k&&(a.c.length=0,a.k=!1);var c=a.c;c[c.length]=b}else c=a.c,c[c.length]=b,SC(a)}
function vD(a,b,c,d,e,f,g){var h,i,l,m,n,o,q,w,F,z,J;wD(a,!1);360<=g||-360>=g?h=xD(a,b,c,d,e):h=(i=f+g,l=0,i<f&&(l=1),m=0,(180<g||-180>g)&&(m=1),n=b+d/2,o=c+e/2,q=d/2,w=e/2,F=yD(n,o,q,w,f),z=yD(n,o,q,w,i),J="<g"+a.j+xb,J+='<path d ="M '+F.b+ca+F.c+" A "+q+ca+w+" 0 "+m+ca+l+ca+z.b+ca+z.c+'"/>',J+="</g>",J);uD(a,h)}function Z(a,b,c,d,e){uD(a,vb+b+la+c+ka+d+ma+e+ia+a.e+ga+a.b+fb)}function zD(a,b,c,d,e){wD(a,!1);uD(a,'<rect x="'+b+na+c+ha+e+'" width="'+d+fa+a.j+fb)}
function AD(a,b,c,d){var e,b=b.replace(/&/g,ta).replace(/</g,va).replace(/>/g,ua),b=(e=a.e,'<text x="'+c+na+d+ga+a.f+' fill="'+e+oa+b+"</text>");uD(a,b)}function Hz(a,b,c,d,e){wD(a,!0);uD(a,'<rect x="'+b+na+c+ha+e+'" width="'+d+fa+a.j+fb)}
function SC(a){var b,c,d;a.n&&(b=a.c.join(aa),b=(c=Cn(Dn(a.r.pb.ownerDocument),a.r.pb)+(a.r.pb.offsetWidth||0)-ij(a.r.pb),d=En(Dn(a.r.pb.ownerDocument),a.r.pb)+(a.r.pb.offsetHeight||0)-kj(a.r.pb),'<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="'+c+ha+d+oa)+b+"</svg>",b!==a.o&&(Hn(a.r.pb,b),a.o=b),a.k=!0,a.n=!1)}function $(a,b){(a.d=b)&&(a.e=Zf+(b.b>>16&255)+Da+(b.b>>8&255)+Da+(b.b&255)+Aa)}
function BD(a,b){var c,d,e;a.f=(c=b.c,d=b.b,e=j,12!=c&&(e=' font-size="'+c+'pt"'),"Plain"!=d&&(e+=' font-family="'+d+fa),0!=(b.d&1)&&(e+='font-weight="bold"'),0!=(b.d&2)&&(e+='font-style="italic"'),e)}t(497,388,{});_.c=null;_.d=null;_.e="black";_.f=null;_.i=!0;_.j=null;_.k=!1;_.n=!1;_.o=j;_.p=0;_.q=0;_.r=null;var tD;
function CD(a){var b,c,d,e,f;gj(a);d=(Fi(),Gi(null));e=new Rv;Ov(e,a);gu(d,e,d.pb);f=a.Vc();b=a.Uc();c=(c=$wnd.navigator.userAgent.match(/MSIE\s+(\d+\.\d+)/))?parseFloat(c[1]):-1;9<=c?(++f,++b):7==c&&y(a,59)&&(c=a.pb.textContent,2>=c.length&&(f+=8));Qv(e,a);pu(d,e);return new Dx(f,b)}function DD(){this.pb=$doc.createElement(be);this.pb.style[Kf]=Ke;this.pb.style[Mf]=fd;this.pb.style[Rg]=jb;this.pb.style[Je]=jb}t(499,276,Gh,DD);_.Sc=function(){return ij(this.pb)};_.Tc=function(){return kj(this.pb)};
function yD(a,b,c,d,e){e*=0.017453292519943295;a+=c*Math.cos(e);b+=-d*Math.sin(e);return new rD(new hC(a),new hC(b))}function xD(a,b,c,d,e){return'<ellipse cx="'+(b+d/2)+'" cy="'+(c+e/2)+'" rx="'+d/2+'" ry="'+e/2+fa+a.j+fb}function ED(a,b,c,d,e){var f,g,h,i;if(1>d)return j;g=d;e&&(d-=1,b[0]==b[d]&&c[0]==c[d]&&--g);d=' points="';for(f=0;f<g;++f)h=b[f],i=c[f],d+=h+Da+i,f<g-1&&(d+=ca);d+=fa;b=ub;e?b+="polygon":b+="polyline";return b+=d+a.j+fb}
function wD(a,b){var c;c=a.e;b?a.j=' stroke="none" fill="'+c+ga+a.b:a.j=' fill="none" stroke="'+c+ga+a.b}function QC(){sD();this.c=[];this.r=new DD}t(500,497,{},QC);_.b='shape-rendering="crispEdges"';function FD(){FD=u;GD=new Dx(0,0)}function HD(a){var b;b=a.Ye();if(!b){var c;(c=a.Ve())?(b=CD(c.b),Li(c.fe(),b.c,b.b),c=CD(c.b),b=new Dx(c.c-b.c,c.b-b.b)):b=new Dx(0,0);a.af(b)}return b}
function Rx(a,b){var c;if(a.je())return GD;if(-1!=a.f.c&&-1!=a.f.b)return a.f;a._e(vx(b));c=CD(a.fe());a.f.c=c.c;a.f.b=c.b;return c}function ID(a,b){var c;b&&(c=Zf+(b.b>>16&255)+Da+(b.b>>8&255)+Da+(b.b&255)+Aa,a.Xe().pb.style[nd]=c)}function JD(){this.f=new jz;this.f.b=-1;this.f.c=-1}t(502,1,{});_.Ve=function(){return null};_.We=function(a){this.$e(a.Bd())};_.Xe=function(){return this.fe()};_.Ye=function(){return KD};_.sd=function(){};_.je=function(){return!1};_.Ze=function(a){this._e(vx(a))};
_.$e=function(a){ID(this,a)};_._e=function(a){var b=this.fe().pb,c,d,e;c=(ay(),by);e=a.c;d=a.b;e!=c.c?b.style[le]=j+e+Pf:b.style[le]=j;d!=c.b?b.style[ke]=d:b.style[ke]=j;0!=(a.d&1)?b.style[ne]=td:b.style[ne]=j;0!=(a.d&2)?b.style[me]=Ne:b.style[me]=j};_.af=function(a){KD=a};_.bf=function(){};var KD=_.f=null,GD;function Ny(a,b){FD();JD.call(this);this.b=new cv(a);this.b.Wc()[Dd]=j;A(this.b,new LD(this,b),(xp(),xp(),yp))}t(501,502,{},Ny);_.fe=function(){return this.b};_.$e=function(a){ID(this,a)};
_.b=null;function LD(a,b){this.b=a;this.c=b}t(503,1,{},LD);_.zc=function(a){up();vp(a,this.c,this.b.b.pb.textContent)};_.b=null;_.c=null;function Ry(a){FD();JD.call(this);this.b=new cw;A(this.b,new MD(this,a),(rp(),rp(),sp))}t(504,502,{},Ry);_.fe=function(){return this.b};_.b=null;function MD(a,b){this.b=a;this.c=b}t(505,1,{},MD);_.b=null;_.c=null;function ND(a,b){var c,d;ID(a,b.Bd());for(d=new ci(b.Gb.b);d.c<d.e.me();)c=di(d),c.Xb&&c.Tb.We(c)}
function OD(a,b){var c,d,e,f,g,h,i;Li(a.e,b.Id(),b.Ed());for(d=new ci(b.Gb.b);d.c<d.e.me();)c=di(d),c.Xb&&(e=c.Tb,e.Ze(c),h=c.Jd(),i=c.Kd(),g=c.Id(),f=c.Ed(),0<g&&0<f&&(c=e.fe(),g-=HD(e).c,f-=HD(e).b,Li(e.fe(),g,f),!c.ob&&a.e.md(c),a.e.nd(c,h,i)))}function fy(){FD();JD.call(this);this.e=new su}t(506,502,{},fy);_.We=function(a){ND(this,a)};_.fe=function(){return this.e};_.Ze=function(a){OD(this,a)};_.e=null;
function Rz(a){FD();JD.call(this);var b=this.b=new Bv;hv(b.c,a,!1);tv(b);this.f.b=-1;this.f.c=-1}t(507,502,{},Rz);_.fe=function(){return this.b};_.je=function(){var a;a=(this.b.c.d?In(this.b.c.b):this.b.c.b).textContent;return null==a||0==a.length};_.b=null;function Uz(a){this.b=new ww(a.i,new PD(a))}t(508,1,{},Uz);_.b=null;
function sw(a){var b;b=new yA(a.b,null!=a.b.d?a.b.d:a.b.i);a=(up(),up(),Ox).b;a.j=!1;if(a=a.d)b=b.b,C(b,(QD(),RD).c)?$p(LB(a)):C(b,SD.c)?$p(aq(a)):C(b,TD.c)?(b=a.t,b.b=new bq(a),cq(),dq(b)):IB(a,b)}function PD(a){this.b=a}t(509,1,ih,PD);_.hc=function(){sw(this)};_.b=null;function kA(){FD();JD.call(this);this.b=new Ww}t(510,502,{},kA);_.Ve=function(){var a;a=new kA;Sw(a.b,"123456789");a.f.b=-1;a.f.c=-1;return a};_.fe=function(){return this.b};_.Ye=function(){return UD};_.af=function(a){UD=a};
var UD=_.b=null;t(511,506,{});function VD(a){var b;b=new Lp(Fn(a.pb,Hf),Fn(a.pb,Gf));a=new Lp(Fn(a.T.jb.pb,Hf),Fn(a.T.jb.pb,Gf));return E(G,r,-1,[b.c-a.c,b.b-a.b])}function WD(a){if(null!=a.R&&null!=a.Q){var b=a.Q;a._c(a.R);a.Zc(b);a.R=a.Q=null}else null!=a.R?(XD(a,a.R),a.R=null):null!=a.Q&&(YD(a,a.Q),a.Q=null);Yi(a.S)}function ZD(a){a.kb?a.ff(Op(a.T.jb)):(a.vd(),ZD(a))}function YD(a,b){var c;a.kb?(c=VD(a),a.ff(new Lp(-1,$D(b,!1)-c[1]))):a.Q=b}
function aE(a,b){var c;b!=a.qd()&&(c=a.T.jb,Zt(c),bE(c,b,c.pb,c.q.d,!0))}function XD(a,b){var c;a.kb?(c=VD(a),a.ff(new Lp($D(b,!0)-c[0],-1))):a.R=b}t(514,278,Ph);_.cf=function(){var a,b;b=Op(this.T.jb);a=VD(this);b.c+=a[0];b.b+=a[1];return b};_.qd=function(){var a;a=this.T.jb;return 0!=a.q.d?cE(ix(a.q,0)):null};_.df=function(a){dE(this.T.jb,a)};_.ld=function(){return new $t(this.T.jb)};_.ef=function(){Sp(this.T.jb)};_.fd=function(){WD(this)};_.yd=function(){Sp(this.T.jb)};
_.hd=function(a){return eE(this.T.jb,a)};_.ff=function(a){Qp(this.T.jb,a)};_.Zc=function(a){YD(this,a)};_.rd=function(a){aE(this,a)};_._c=function(a){XD(this,a)};_.Q=null;_.R=null;function fE(){fE=u;zu();var a=(gE(),hE(),iE);jE=new Tv(a.e,a.c,a.d,a.f,a.b)}function kE(a,b){if(0!=a.I.b.q.d&&cE(ix(a.I.b.q,0)))throw new Ut("WindowPanel can only contain one child widget");lE(a,b)}
function mE(a){try{a.w=!1;var b,c,d,e,f;d=a.hb;c=a.ab;d||(a.pb.style[Og]=Ke,a.ab=!1,a.vd());b=a.pb;b.style[Se]=0+(Si(),Qf);b.style[Cg]=hb;e=Mi()-Fn(a.pb,Hf)>>1;f=Ni()-Fn(a.pb,Gf)>>1;nE(a,cj(Pn($doc)+e,0),cj(Qn($doc)+f,0));d||((a.ab=c)?(Gw(a.pb,Xf),a.pb.style[Og]=Pg,Cj(a.gb,200)):a.pb.style[Og]=Pg)}finally{a.w=!0}}
function oE(a,b){var c;if(a.w){c=new rt;a.mb&&Jq(a.mb,c);a.J&&Pp(a.r,a);try{ki(a.r.d,a)}catch(d){if(d=ii(d),!y(d,113))throw d;}a.n=pE(a.r,a);try{Bu(a,b)}finally{ni(a.t.b),ni(a.s.b),ni(a.u.b),a.P&&qi(a.P,a.r),a.C&&(a.C=!1)}}else Bu(a,b)}function qE(a,b,c){var d,e;e=a.ob;d=new $i(a,e);e.nd(a,d.b+b,d.e+c)}function rE(a,b,c){b=new sE(Jn(In(zt(zt(a.T.d,b),c))));Yt(b,a);A(b,a.o,(xp(),xp(),yp));return b}function Np(a,b){a.J&&(0<=b.c&&(a.q=b.c),0<=b.b&&(a.p=b.b));Qp(a.T.jb,b)}
function nE(a,b,c){var d,e;(e=a.r)?(d=tE(e.pb),Eu(a,b+(ij(e.pb)+d[3]),c+(kj(e.pb)+d[0]))):Eu(a,b,c)}function Ez(a,b){a.J!=b&&(a.J=b,a.hb&&(b?Rp(a.r,a):Pp(a.r,a)))}function lE(a,b){if(b!=(0!=a.I.b.q.d?cE(ix(a.I.b.q,0)):null)){Zt(a.I.b);var c=a.I.b;bE(c,b,c.pb,c.q.d,!0)}}
function uE(a,b){var c;if(a.O!=b){c=a.O;a.O=b;a.kb&&c==(Ip(),vE)&&(a.O=a.G);var d,e;if(a.P)for(e=new ci(a.P);e.c<e.e.me();)if(d=di(e),b==(Ip(),wE)){!d.c&&(d.c=new xE);d=a;var f=c,g=void 0,h=void 0;if(d.J&&f==(Ip(),Jp))g=d.r,h=d.F,d.I.d?(nE(d,h.d,h.e),Np(d,new Lp(h.c,-1))):(nE(d,h.d,h.e),Np(d,new Lp(h.c,h.b)),Rp(g,d)),gi(g.d,d,d.I.c),Qj(d.z,333);else if(!d.C&&f==(Ip(),vE))d.pb.style[Og]=Pg,Ip()}else if(b==Jp){!d.c&&(d.c=new xE);d=a;var f=c,i=h=g=void 0;if(d.J){h=d.r;g=tE(h.pb);i=d.F;if(d.I.d)i.d=ij(d.pb)-
g[3]-ij(h.pb),i.e=kj(d.pb)-g[0]-kj(h.pb),d.F=i,nE(d,0,0),yE(d,Kp(h.pb).c,-1);else{if(f!=(Ip(),vE))i.d=ij(d.pb)-g[3]-ij(h.pb),i.e=kj(d.pb)-g[0]-kj(h.pb),i.c=d.q,i.b=d.p,d.F=i;nE(d,0,0);Qp(d,new zE(Kp(h.pb)));Pp(h,d)}d==d.r.b||AE(d);Qj(d.z,333)}}else b==vE&&(!d.c&&(d.c=new xE),d=a,d.C||(d.G=c,d.pb.style[Og]=Ke))}}function BE(a,b){a.pb.style[Tg]=b+1E4+(a.C?1E3:0)+j;(a.C||a.bb)&&null.of().of()}
function CE(a){if(!a.kb){a.t=St(a,a.r,(!uq&&(uq=new Xj),uq));a.s=St(a,a.r,Wj?Wj:Wj=new Xj);a.u=St(a,a.r,(!zq&&(zq=new Xj),zq));var b=a.r;!a.P&&(a.P=new yi);ri(a.P,b);uq&&(b=new tq(a),a.mb&&Jq(a.mb,b));a.J&&Rp(a.r,a);gi(a.r.d,a,a.I.c);a.n&&(Eu(a,a.n.b,a.n.c),a.n=null);Fu(a);AE(a)}}function AE(a){if(a!=a.r.b){var b;zq&&(b=new yq(a),a.mb&&Jq(a.mb,b))}}
function DE(a,b,c){zu();var d=(Ou(),Pu);Hu.call(this,!1,"popup");this.U=d.b;this.S=new EE(this);d=new FE;d.pb[Dd]="mosaic-popupLayoutPanel";wu(this.T,d);Du(this);this.o=new GE(this);this.z=new HE(this);this.A=new IE(this);this.B=new JE(this);this.F=new KE;this.O=(Ip(),wE);this.J=c;this.r=a;a=this.I=new LE(b);b=new ME;!a.e&&(a.e=new NE);ri(a.e,b);a=new OE(new Vv(jE.b.e.b,jE.b.c,jE.b.d,jE.b.f,jE.b.b));A(a,new PE(this),(xp(),xp(),yp));b=this.I.c;b.c||(b.c=new Rv,b.c.Wc()[Dd]="mosaic-Caption-iconBoxRight",
c=b.c,d=(Kv(),Lv),c.d=d,c=b.i,QE(c,b.c,new RE(2),c.q.d));if(0<b.c.q.d){c=b.c;if(0>c.q.d)throw new ju;d=Pv(c);Gt(c.c,(Us(),Vs(d)),0);iu(c,a,d,0,!1)}else Ov(b.c,a);dE(b.i,null);A(this.I.c,new SE(this),(Fp(),Fp(),Gp));A(this.I.c,this.o,yp);aE(this,this.I);ei(Gu?In(this.pb):Jn(In(this.pb)),"mosaic-WindowPanel",!0)}t(513,514,Ph);_.qd=function(){return 0!=this.I.b.q.d?cE(ix(this.I.b.q,0)):null};_.td=function(a){oE(this,a)};_.ld=function(){return new $t(this.I.b)};_.fd=function(){WD(this);Yi(new TE(this))};
_.hd=function(a){return eE(this.I.b,a)};_.ff=function(a){Np(this,a)};_.ud=function(a,b){nE(this,a,b)};_.rd=function(a){lE(this,a)};_.vd=function(){CE(this)};_.n=null;_.p=0;_.q=0;_.r=null;_.s=null;_.t=null;_.u=null;_.v=null;_.w=!0;_.x=null;_.y=null;_.C=!1;_.D=null;_.E=null;_.G=null;_.H=null;_.I=null;_.J=!1;_.K=null;_.L=null;_.M=null;_.N=null;_.P=null;var jE;function UE(a){a.i=(new My(a.j)).Tb.fe();A(a.i,new VE(a),(xp(),xp(),yp));a.e=E(WE,k,59,[a.i])}
function XE(){fE();var a,b,c,d,e,f;DE.call(this,(YE(),ZE),null,!0);this.jf();this.db=!0;a=new Dv(this.k);this.f=new Vw;this.f.pb.style[Rg]=jb;this.f.pb.style[Je]=jb;this.gf();XD(this,"400px");f=new hx;f.pb.style[Je]=jb;f.f[zd]=10;c=(wv(),Hv);f.b=c;gx(f,a);gx(f,this.f);e=new Rv;e.f[zd]=20;for(b=this.e,c=0,d=b.length;c<d;++c)a=b[c],Ov(e,a);gx(f,e);kE(this,f);Ez(this,!1);this.hf()}t(512,513,Ph,XE);_.gf=function(){UE(this)};
_.hf=function(){var a=this.f;a.pb.readOnly=!0;var b=Ot(a.pb)+"-readonly";ei(a.Wc(),b,!0)};_.jf=function(){Dz(this.I.c,"Copy")};_.e=null;_.f=null;_.i=null;_.j="Close";_.k="Press Ctrl-C (Command-C on Mac) or right click (Option-click on Mac) on the selected text to copy it, then paste into another program.";function VE(a){this.b=a}t(515,1,{},VE);_.zc=function(){oE(this.b,!1)};_.b=null;function $E(a){this.b=a}t(516,1,{},$E);
_.hc=function(){Qt(this.b.f.pb,!0);this.b.f.pb.focus();var a=this.b.f,b;b=Gn(a.pb,Mg).length;if(0<b&&a.kb){if(0>b)throw new pv("Length must be a positive integer. Length: "+b);if(b>Gn(a.pb,Mg).length)throw new pv("From Index: 0  To Index: "+b+"  Text Length: "+Gn(a.pb,Mg).length);try{a.pb.setSelectionRange(0,0+b)}catch(c){}}};_.b=null;function mA(){new Lq}t(517,408,{},mA);function aF(a){fE();XE.call(this);this.d=a}t(518,512,Ph,aF);
_.gf=function(){UE(this);this.b=(new My(this.c)).Tb.fe();A(this.b,new bF(this),(xp(),xp(),yp));this.e=E(WE,k,59,[this.b,this.i])};_.hf=function(){this.f.pb.style[Je]="350px"};_.jf=function(){this.j="Cancel";this.k="Paste the text to import into the text area below.";this.c="Accept";Dz(this.I.c,"Paste")};_.vd=function(){CE(this);rn((on(),pn),new cF(this))};_.b=null;_.c=null;_.d=null;function bF(a){this.b=a}t(519,1,{},bF);
_.zc=function(){if(this.b.d){var a=this.b.d,b;b=new yA(a.b,Gn(this.b.f.pb,Mg));a=a.b.b;b=b.b;if(null!=b){var c=a.b.vb,d,e,f,g;if(null!=b&&(d=pC(b,"\\$\\$\\$\\$\n?"),!(1>=d.length)))for(f=0,g=d.length;f<g;++f)e=d[f],or(c.c,c.d++,e);b=oC(b);try{dF(a.b,b)?(eq(a.b,"Structure pasted"),hD(a.b)):(BB(new CB(a.b.I,a.b,DB)),HB(a.b)),sB(a.b)}catch(h){if(h=ii(h),y(h,113))b=a.b,b.gb=!0,b.I="ERROR - invalid MOL ",BB(new CB(a.b.I,a.b,DB)),sB(a.b);else throw h;}}}oE(this.b,!1)};_.b=null;function cF(a){this.b=a}
t(520,1,{},cF);_.hc=function(){Qt(this.b.f.pb,!0);this.b.f.pb.focus()};_.b=null;function dq(a){a&&a&&(a=new eF(a),a=new aF(a),ZD(a),mE(a))}function eF(a){this.b=a}t(522,1,{},eF);_.b=null;function Fz(a,b){FD();fy.call(this);this.d=new fF(a);var c=this.c=new Rv,d=(wv(),Hv);c.b=d;Ov(this.c,this.e);kE(this.d,this.c);this.d.b=this;this.b=b;var c=new gF(this),d=this.d,e=(!xq&&(xq=new Xj),xq);Cq((!d.y&&(d.y=new hF),d.y),e,c)}t(523,511,{},Fz);_.fe=function(){return this.d};_.Xe=function(){return this.c.ob};
_.sd=function(){oE(this.d,!1)};_._e=function(){};_.bf=function(a){ND(this,a);OD(this,a);ZD(this.d);CE(this.d)};_.b=null;_.c=null;_.d=null;function gF(a){this.b=a}t(524,1,{},gF);_.Gc=function(){ij(this.b.e.pb);kj(this.b.e.pb)};_.b=null;function fF(a){fE();DE.call(this,(YE(),ZE),a,!1)}t(525,513,Ph,fF);_.sd=function(){var a=this.b,b=new yz(a.b,201),c;a=a.b.p;a.b?a=new iF(new ci(a.b)):(a=(Tq(),Tq(),Uq),a=new ci(a));for(;a.Lc();)c=a.Mc(),201==b.e&&jF(c.b)};_.b=null;
function kF(a,b,c,d){b=wx(b);c+=b.b;d+=b.c;Eu(a.b,c,d);Fu(a.b)}function aA(){FD();JD.call(this);var a=this.b=new lF;a.ab=!0;a.b.i=!0;this.b.db=!0}t(526,502,{},aA);_.fe=function(){return this.b};_.b=null;function LA(){}t(532,424,{},LA);function mF(a){a.Tb.d.hb&&xz(a)}function jF(a){var b;if(a.Tb.d.hb){b=wx(a);var c=a.i,d=b.c;c.b=b.b;c.c=d}zz(a)}function BB(a){var b=a.i;nE(a.Tb.d,b.b,b.c);!vx(a)&&$x(a);Kx(a)}function nF(){Cz.call(this,j);this.f=new My(this.kf());py(this.p,new oF(this))}t(534,386,Qh);
_.zd=function(a,b){return a.i==this.f?(jF(this),!0):this.lf(a,b)};_.kf=function(){return"Close"};_.lf=function(){return!1};_.sd=function(){jF(this)};_.f=null;_.i=null;function CB(a,b,c){nF.call(this);this.Tb&&Ez(this.Tb.d,!1);Bz(this,!1);cy(this,new Mz(0));a=new Qz(a,1);Q(this,a,null);a=new gy;Q(a,this.f,null);Q(this,a,null);b&&(this.i=wx(b),Az(this),yx(this.i,~~(Fn(b.Fb.pb,Hf)/2)-~~(this.Yb/2),~~(Fn(b.Fb.pb,Gf)/2)-~~(this.Ob/2)));c&&P(this,c)}t(533,534,Qh,CB);_.kf=function(){return"OK"};
function wB(){this.b=this.c=new pF}t(535,1,{},wB);_.b=null;function pF(){this.b=null}function qF(a){this.b=a}t(536,1,{},pF,qF);_.b=null;_.c=null;_.d=null;function oF(a){this.b=a}t(537,416,{},oF);_.b=null;function rF(){rF=u;sF=E(tr,k,1,["Copyright (c) 2013, Novartis Institutes for BioMedical Research Inc. and Bruno Bienfait.","All rights reserved."]);DB=(Sy(),Vy);tF=ez(DB);uB=v(uF,k,87,23,0);vB=v(tr,k,1,23,0);vF=v(uF,k,87,7,0)}
function GB(a){var b;if(a.tb)b=wF(a,1)+xb+wF(a,2)+xb+wF(a,3);else if(b=wF(a,0),0<b.length){var c=new xF(a.Y);ri(a.$.b,c)}return b}
function yF(a,b,c,d){var e,f,g,h,i,l,m,n;if(!a.mb&&(h=c-b+1,!(0>=h||b>a.ob||c>a.ob))){e=v(dD,k,-1,4,1);l=v(dD,k,-1,99,1);g=n=m=0;for(f=b;f<=c;++f)eD(a.cb[f],e),m+=e[2],n+=e[3],e[3]>g&&(g=e[3]),l[f]=e[2],2==d&&(l[f]=e[3]);a.x&&(m+=25*(h+1),n+=25*(h+1),g+=25);(0==a.A.c||0==a.A.b)&&(a.A=ly(a));0==a.A.c&&(a.A.c=400);0==a.A.b&&(a.A.b=300);i=f=1;e=a.A.c;h=a.A.b;a.x||(e-=a.X,h-=3*a.X);1==d||3==d?e=~~((e-48)/2):2==d&&(h=~~(h/2));m>=e&&(f=e/m);g>=h&&(i=h/g);g=0;a.x&&(a.z=f<i?f:i,g=25*e/m,2==d&&(g=25*h/n));
for(f=b;f<=c;++f)2==d?l[f]=l[f]*h/n:l[f]=l[f]*e/m;m=-e/2;n=0;1==d?m=-e-24:3==d?m=24:2==d&&(m=0,n=-h);for(f=b;f<=c;++f){if(a.x){for(b=1;b<=a.cb[f].t;++b)a.cb[f].J[b]*=a.z,a.cb[f].M[b]*=a.z;zF(a.cb[f])}2==d?n+=l[f]/2+g:m+=l[f]/2+g;for(b=1;b<=a.cb[f].t;++b)a.cb[f].J[b]+=m,a.cb[f].M[b]+=n;2==d?n+=l[f]/2:m+=l[f]/2;a.x||iD(a.cb[f])}}}
function AF(a){var b;a.ib=!0;a.c=202;a.lb=!1;if(0!=a.ob){a.ib=!0;a.f=!0;for(b=a.e;b<a.ob;++b)a.cb[b]=a.cb[b+1];--a.ob;a.e=a.ob;0<a.ob?a.Y=a.cb[a.e]:(a.Y=new BF(a),a.Y.r=0)}}function oB(a,b){var c,d,e;e=new $z;c=Oc;d="MOL";b&&(c="SMIRKS",d="RXN");c=new Tz(Sb+c);var f=(QD(),RD).c;c.d=f;Zz(e,c);py(c.e,a);c=new Tz(Sb+d);c.d=SD.c;py(c.e,a);Zz(e,c);Zz(e,new Tz(Fa));c=new Tz("Paste "+d);c.d=TD.c;py(c.e,a);Zz(e,c);px(a,e);return e}
function CF(a,b,c,d){var e,f,g;g=100*d+c;f=(c-1)*(a.X+a.Q);e=(d-1)*(a.X+a.Q);1==c&&2<d&&(e-=2*a.X);$(b,DB);a.kb?(g==a.c&&$(b,fz(DB)),Hz(b,f,e,a.X,a.X),$(b,(Sy(),Xy)),zD(b,f,e,a.X-1,a.X-1)):g==a.c?Gz(b,f+1,e+1,a.X,a.X,!1):Gz(b,f,e,a.X,a.X,!0);if(!(1301==g&&!a.sb||112==g))if(107!=g||a.qb)if(201!=g||a.Ab)if(103!=g||a.fb)if(!(105==g&&!a.nb&&!a.q)&&(109!=g||a.tb))if(c=~~(a.X/4),3>d)switch($(b,(Sy(),Yy)),g){case 101:$(b,az);g=f+3;var d=e+3,c=a.X-6,h=a.X-6;wD(b,!0);uD(b,xD(b,g,d,c,h));$(b,Yy);g=f+3;d=e+
3;c=a.X-6;h=a.X-6;wD(b,!1);uD(b,xD(b,g,d,c,h));vD(b,f+6,e+6,a.X-12,a.X-12,-35,-110);Hz(b,f+9,e+9,2,4);Hz(b,f+a.X-10,e+9,2,4);0.04>Math.random()&&($(b,Zy),Hz(b,f+10,e+18,4,4));0.96<Math.random()&&($(b,az),Hz(b,f+a.X-10,e+8,2,3));break;case 112:DF(a,b,f,e,Wb);break;case 107:$(b,$y);Hz(b,f+4,e+4,a.X-8,a.X-8);$(b,Yy);zD(b,f+4,e+4,a.X-8,a.X-8);vD(b,f+6,e+6,a.X-11,a.X-12,-35,-110);Hz(b,f+9,e+9,2,4);Hz(b,f+a.X-10,e+9,2,4);break;case 108:g=~~(a.X/4);Z(b,f+g,e+a.X-g,f+a.X-g,e+g);g=~~(a.X/2)-g;d=e+~~(2*a.X/
3);f+=~~(a.X/2);Z(b,f,d,f+g,d);e+=~~(a.X/3);a=f-g;Z(b,a,e,f,e);a=~~((a+f)/2);e-=~~(g/2);Z(b,a,e,a,e+g);break;case 110:EF(b,f,e,a.X,!0);break;case 111:EF(b,f,e,a.X,!1);break;case 109:Z(b,f+c,e+~~(a.X/2),f+a.X-c,e+~~(a.X/2));Z(b,f+a.X-c,e+~~(a.X/2),f+a.X-~~(3*c/2),e+~~(a.X/2)+~~(c/2));Z(b,f+a.X-c,e+~~(a.X/2),f+a.X-~~(3*c/2),e+~~(a.X/2)-~~(c/2));break;case 102:$(b,Ty);Hz(b,f+3,e+5,a.X-7,a.X-11);$(b,Yy);zD(b,f+3,e+5,a.X-7,a.X-11);break;case 103:$(b,DB);a.lb&&Gz(b,f+1,e+1,a.X,a.X,!1);$(b,Yy);DF(a,b,f,
e,"NEW");break;case 106:$(b,Zy);Z(b,f+7,e+7,f+a.X-7,e+a.X-7);Z(b,f+8,e+7,f+a.X-6,e+a.X-7);Z(b,f+7,e+a.X-7,f+a.X-7,e+7);Z(b,f+8,e+a.X-7,f+a.X-6,e+7);$(b,Yy);Z(b,f+c,e+~~(a.X/2),f+12,e+~~(a.X/2));DF(a,b,f+6,e,Bc);break;case 104:$(b,Zy);Z(b,f+7,e+7,f+a.X-7,e+a.X-7);Z(b,f+8,e+7,f+a.X-6,e+a.X-7);Z(b,f+7,e+a.X-7,f+a.X-7,e+7);Z(b,f+8,e+a.X-7,f+a.X-6,e+7);$(b,Yy);break;case 105:a.zb?($(b,cz),Z(b,f+11,e+5,f+9,e+9),Z(b,f+9,e+9,f+4,e+9),Z(b,f+4,e+9,f+8,e+12),Z(b,f+8,e+12,f+6,e+18),Z(b,f+6,e+18,f+11,e+15),Z(b,
f+12,e+5,f+14,e+9),Z(b,f+14,e+9,f+19,e+9),Z(b,f+19,e+9,f+15,e+12),Z(b,f+15,e+12,f+17,e+18),Z(b,f+17,e+18,f+12,e+15),$(b,Yy)):DF(a,b,f,e,"123");break;case 113:$(b,dz);Hz(b,f+4,e+4,a.X-8,a.X-8);$(b,Yy);zD(b,f+4,e+4,a.X-8,a.X-8);FF(a,b,f+1,e-1,Ty,"i");break;case 201:Z(b,f+c,e+~~(a.X/2),f+a.X-c,e+~~(a.X/2)+2);Z(b,f+c,e+~~(a.X/2),f+a.X-c,e+~~(a.X/2)-2);Z(b,f+a.X-c,e+~~(a.X/2)+2,f+a.X-c,e+~~(a.X/2)-2);break;case 202:Z(b,f+c,e+~~(a.X/2),f+a.X-c,e+~~(a.X/2));break;case 203:Z(b,f+c,e+~~(a.X/2)-2,f+a.X-c,e+
~~(a.X/2)-2);Z(b,f+c,e+~~(a.X/2)+2,f+a.X-c,e+~~(a.X/2)+2);break;case 204:Z(b,f+c,e+~~(a.X/2),f+a.X-c,e+~~(a.X/2));Z(b,f+c,e+~~(a.X/2)-2,f+a.X-c,e+~~(a.X/2)-2);Z(b,f+c,e+~~(a.X/2)+2,f+a.X-c,e+~~(a.X/2)+2);break;case 205:Z(b,f+~~(c/2),e+2*c+~~(c/3),f+3*~~(c/2),e+2*c-~~(c/3));a=vb+(f+3*~~(c/2))+la+(e+2*c-~~(c/3))+ka+(f+5*~~(c/2))+ma+(e+2*c+~~(c/3))+ia+b.e+ga+b.b+fb;uD(b,a);e=vb+(f+5*~~(c/2))+la+(e+2*c+~~(c/3))+ka+(f+7*~~(c/2))+ma+(e+2*c-~~(c/3))+ia+b.e+ga+b.b+fb;uD(b,e);break;case 206:GF(a,b,f,e+2,3);
break;case 207:GF(a,b,f,e,4);break;case 208:GF(a,b,f,e,5);break;case 209:GF(a,b,f,e,1);break;case 210:GF(a,b,f,e,6);break;case 211:GF(a,b,f,e,7);break;case 212:GF(a,b,f,e,8);break;case 213:DF(a,b,f,e,"FG"),a.E=new Wz(f,e)}else d=3,301==g?d=3:401==g?d=4:501==g?d=5:601==g?d=8:701==g?d=9:801==g?d=10:901==g?d=11:1001==g?d=12:1101==g?d=7:1201==g?d=18:1301==g&&(d=19),null!=vB[d]&&FF(a,b,f,e,uB[d],vB[d])}
function HF(a){var b,c,d;a.gb&&(d=a.H.b,c=a.A.c-a.X,b=a.X,$(d,DB),Hz(d,0,0,c,b),a.kb?($(d,(Sy(),Xy)),zD(d,-1,0,c,b-1)):($(d,tF),Z(d,0,0,c-1-2,0),$(d,fz(DB)),Z(d,0,b-1,c-1,b-1),Z(d,c-1,0,c-1,b-1)),BD(d,a.V),$(d,(Sy(),Yy)),0==a.I.indexOf("E")&&$(d,Zy),AD(d,a.I,10,15),RC(a.Fb,a.H,a.X,a.A.b-a.X))}
function IF(a){var b,c,d,e;if(a.hb){d=a.O.b;c=a.X;b=a.A.b-2*a.X-a.Q;$(d,DB);Hz(d,0,0,c,b);a.kb?($(d,(Sy(),Xy)),Z(d,0,b-1,c,b-1),e=pB*(a.X+a.Q)+2,Z(d,0,e,c,e),Z(d,0,e,0,b),Z(d,a.X-1,e,a.X-1,b-a.X)):($(d,tF),Z(d,0,0,0,b-1),Z(d,0,pB*a.X,b-1,pB*a.X),$(d,fz(DB)),Z(d,c-1,0,c-1,b-1-a.X),Z(d,0,b-1,c-1,b-1));for(b=3;b<=pB+2;++b)CF(a,d,1,b);RC(a.Fb,a.O,0,2*a.X+a.Q)}}
function JF(a){var b,c,d,e;if(a.ib){e=a.bb.b;c=a.A.c-a.X;b=a.A.b-3*a.X-a.Q;$(e,a.s);Hz(e,0,0,c,b);for(d=1;d<=a.ob;++d){var f=a.cb[d],g=e,h=void 0,i=void 0,l=void 0,m=void 0,n=void 0,o=l=void 0,q=void 0,w=void 0,F=w=n=m=void 0,z=o=void 0,J=m=q=n=h=void 0,N=m=h=void 0,S=i=n=i=void 0,da=w=z=void 0,M=da=q=o=l=z=m=q=F=J=o=void 0,M=i=o=n=n=J=M=S=h=N=N=F=S=o=o=N=S=void 0,w=z=1,l=2,da=3;f.w&&(zF(f),yF(f.n,1,f.n.ob,0),f.w=!1);1!=f.n.z&&(l*=f.n.z,da*=f.n.z,h=1,0.7>f.n.z&&(h=1.2),h=H(f.n.C*f.n.z*h),f.n.k=new uz(dc,
0,h),f.n.n=null);f.n.y&&($(g,(Sy(),Yy)),zD(g,0,0,f.n.A.c-1,f.n.A.b-1));if(0!=f.t){if(-1==f.k){m=K(I(Math.round(12*l)));for(h=1;h<=f.t;++h)0<f.c[h]&&7>f.c[h]&&($(g,(rF(),vF)[f.c[h]]),i=g,n=H(f.J[h]-m/2),N=H(f.M[h]-m/2),S=M=m,wD(i,!0),uD(i,xD(i,n,N,M,S)));for(h=1;h<=f.u;++h)i=f.H[h],m=f.I[h],0!=f.c[i]&&f.c[i]==f.c[m]&&($(g,(rF(),vF)[f.c[i]]),o=f.J[m]-f.J[i],z=f.M[m]-f.M[i],w=Math.sqrt(o*o+z*z),1>w&&(w=1),z/=w,w=o/w,q=3*da*z,o=3*da*w,N=v(G,r,-1,4,1),n=v(G,r,-1,4,1),N[0]=H(f.J[i]+q),n[0]=H(f.M[i]-o),
N[1]=H(f.J[m]+q),n[1]=H(f.M[m]-o),N[2]=H(f.J[m]-q),n[2]=H(f.M[m]+o),N[3]=H(f.J[i]-q),n[3]=H(f.M[i]+o),m=g,i=N,wD(m,!0),uD(m,ED(m,i,n,4,!0)))}for(h=1;h<=f.u;++h){$(g,(Sy(),Yy));i=f.H[h];m=f.I[h];1==f.k&&0!=f.c[i]&&f.c[i]==f.c[m]&&$(g,(rF(),vF)[f.c[i]]);if(3==f.B[h]||4==f.B[h])n=i,i=m,m=n;S=f.J[i];M=f.M[i];N=f.J[m];n=f.M[m];if(1!=f.s[h]||0!=f.B[h])o=N-S,z=n-M,w=Math.sqrt(o*o+z*z),1>w&&(w=1),z/=w,w=o/w;switch(f.s[h]){case 2:10<=f.B[h]&&$(g,bz);q=l*z;o=l*w;Z(g,K(I(Math.round(S+q))),K(I(Math.round(M-o))),
K(I(Math.round(N+q))),K(I(Math.round(n-o))));Z(g,K(I(Math.round(S-q))),K(I(Math.round(M+o))),K(I(Math.round(N-q))),K(I(Math.round(n+o))));$(g,Yy);break;case 3:m=K(I(Math.round(S)));i=K(I(Math.round(M)));N=K(I(Math.round(N)));n=K(I(Math.round(n)));Z(g,m,i,N,n);S=K(I(Math.round(da*z)));M=K(I(Math.round(da*w)));Z(g,m+S,i-M,N+S,n-M);Z(g,m-S,i+M,N-S,n+M);break;case 9:case 0:for(i=0;10>i;++i)F=S-(S-N)/10*i,J=M-(M-n)/10*i,Z(g,K(I(Math.round(F))),K(I(Math.round(J))),K(I(Math.round(F))),K(I(Math.round(J))));
BD(g,f.n.k);m=wz(f.n.n.d).b;o=f.f[h];i=yb;null!=o&&(i=o);o=eA(f.n.n,i);S=K(I(Math.round((S+N)/2-o/2)));o=K(I(Math.round((M+n)/2+~~(m/2)-1)));$(g,bz);AD(g,i,S,o);$(g,Yy);break;default:if(1==f.B[h]||3==f.B[h])q=da*z,o=da*w,J=v(G,r,-1,3,1),F=v(G,r,-1,3,1),J[0]=K(I(Math.round(N+q))),F[0]=K(I(Math.round(n-o))),J[1]=K(I(Math.round(S))),F[1]=K(I(Math.round(M))),J[2]=K(I(Math.round(N-q))),F[2]=K(I(Math.round(n+o))),m=g,i=J,n=F,wD(m,!0),uD(m,ED(m,i,n,3,!0));else if(2==f.B[h]||4==f.B[h]){q=da*z;o=da*w;for(i=
0;10>i;++i)F=S-(S-N)/10*i,J=M-(M-n)/10*i,m=i/10,Z(g,K(I(Math.round(F+q*m))),K(I(Math.round(J-o*m))),K(I(Math.round(F-q*m))),K(I(Math.round(J+o*m))))}else Z(g,K(I(Math.round(S))),K(I(Math.round(M))),K(I(Math.round(N))),K(I(Math.round(n))))}}w=v(dD,k,-1,f.t+1,1);z=v(G,r,-1,f.t+1,1);for(h=1;h<=f.u;++h)i=f.H[h],m=f.I[h],l=f.J[i],n=f.J[m],++z[i],++z[m],w[i]=w[i]/z[i]+n/z[i],w[m]=w[m]/z[m]+l/z[m];BD(g,f.n.k);m=wz(f.n.n.d).b;M=v(tr,k,1,f.t+1,0);N=v(G,r,-1,f.t+1,1);n=v(G,r,-1,f.t+1,1);l=v(KF,k,95,f.t+1,0);
for(h=1;h<=f.t;++h)i=LF(f,h),(null==i||1>i.length)&&(i=Ba),3==f.d[h]&&0<f.z[h]&&0==f.A[h]?(M[h]=i,N[h]=n[h]=eA(f.n.n,i),l[h]=MF(f,h,N[h],N[h],m,!1)):(S=w[h]<f.J[h],F=!0,1<z[h]&&(0>=w[h]-f.J[h]?0-(w[h]-f.J[h]):w[h]-f.J[h])<25*f.n.z/3&&(F=!1),2<z[h]&&(F=!1),1==z[h]&&(0>=w[h]-f.J[h]?0-(w[h]-f.J[h]):w[h]-f.J[h])<25*f.n.z/10&&(S=!0),o=i,J=j,f.n.xb&&0<f.x[h]&&(J+=bc,1<f.x[h]&&(J+=f.x[h])),q=j,0!=f.A[h]&&(1<dj(f.A[h])&&(q+=dj(f.A[h])),0<f.A[h]?q+=Ca:q+=Fa),S||!F?i=i+J+q+j:i=q+J+j+i,F||(o=i),M[h]=i,o=eA(f.n.n,
o),q=eA(f.n.n,i),N[h]=o,n[h]=q,q=l[h]=MF(f,h,o,q,m,S),S=q.d+1+1,o=q.e+m,$(g,f.n.s),-1==f.k&&0!=f.c[h]&&$(g,(rF(),vF)[f.c[h]]),Hz(g,q.d,q.e,q.c,q.b),1==f.k?0!=f.c[h]?$(g,(rF(),vF)[f.c[h]]):$(g,(Sy(),Yy)):$(g,(rF(),uB)[f.d[h]]),AD(g,i,S,o));for(i=1;i<=f.y;++i)h=f.q[i][0],o=N[h],q=n[h],S=K(I(mC(f.J[h]-o/2))),o=K(I(mC(f.M[h]+~~(m/2)-1))),$(g,(Sy(),bz)),AD(g,ca+f.q[i][1],S+q,o);if(0<f.D||0<f.E)if($(g,104==f.n.c?(Sy(),Zy):(Sy(),dz)),0<f.D&&106!=f.n.c&&(q=l[f.D],zD(g,q.d,q.e,q.c,q.b)),0<f.E&&(i=f.H[f.E],
m=f.I[f.E],o=f.J[m]-f.J[i],z=f.M[m]-f.M[i],w=Math.sqrt(o*o+z*z),1>w&&(w=1),z/=w,w=o/w,q=(da+1)*z,o=(da+1)*w,J=v(G,r,-1,5,1),F=v(G,r,-1,5,1),J[0]=K(I(mC(f.J[i]+q))),J[1]=K(I(mC(f.J[m]+q))),F[0]=K(I(mC(f.M[i]-o))),F[1]=K(I(mC(f.M[m]-o))),J[3]=K(I(mC(f.J[i]-q))),J[2]=K(I(mC(f.J[m]-q))),F[3]=K(I(mC(f.M[i]+o))),F[2]=K(I(mC(f.M[m]+o))),J[4]=J[0],F[4]=F[0],106!=f.n.c&&(da=g,h=J,z=F,wD(da,!1),uD(da,ED(da,h,z,5,!0))),106==f.n.c&&NF(f,f.H[f.E],f.I[f.E]))){da=0;for(h=1;h<=f.t;++h)0<f.b[h]&&++da;if(da>~~(f.t/
2))for(h=1;h<=f.t;++h)0<f.b[h]?f.b[h]=0:f.b[h]=1;$(g,(Sy(),Zy));for(h=1;h<=f.t;++h)0<f.b[h]&&(q=l[h],zD(g,q.d,q.e,q.c,q.b))}}}a.x||(a.kb?($(e,(Sy(),Xy)),Z(e,c-1,0,c-1,b-1)):($(e,fz(DB)),Z(e,c-1,0,c-1,b-1),$(e,DB),Z(e,c-2,0,c-2,b-1),$(e,tF),Z(e,c-3,0,c-3,b-1)));a.tb&&(d=~~((c-48)/2),$(e,(Sy(),bz)),Z(e,d,~~(b/2),d+48,~~(b/2)),Z(e,d+48,~~(b/2),d+48-6,~~(b/2)+6),Z(e,d+48,~~(b/2),d+48-6,~~(b/2)-6));a.x&&(a.R=new uz(dc,0,a.C),a.U=new dA(a.R),null!=a.ab&&(d=eA(a.U,a.ab),c=K(I(Math.round((c-d)/2))),b-=a.C,
$(e,(Sy(),Yy)),BD(e,a.R),AD(e,a.ab,c,b)));RC(a.Fb,a.bb,a.X,2*a.X+a.Q)}}
function GF(a,b,c,d,e){var f,g,h,i,l;f=~~(a.X/4);g=!1;i=v(G,r,-1,9,1);l=v(G,r,-1,9,1);c+=~~(a.X/2);d+=~~(a.X/2);a=~~(a.X/2)-~~(f/2);1==e&&(e=6,g=!0);for(f=0;f<=e;++f)h=6.283185307179586/e*(f-0.5),i[f]=H(c+a*Math.sin(h)),l[f]=H(d+a*Math.cos(h));f=e+1;wD(b,!1);uD(b,ED(b,i,l,f,2<f));if(g){for(f=0;f<=e;++f)h=6.283185307179586/e*(f-0.5),i[f]=H(c+(a-3)*Math.sin(h)),l[f]=H(d+(a-3)*Math.cos(h));Z(b,i[0],l[0],i[1],l[1]);Z(b,i[2],l[2],i[3],l[3]);Z(b,i[4],l[4],i[5],l[5])}}
function OF(a){var b,c,d;if(a.jb){d=a.Cb.b;b=a.A.c;c=2*a.X+a.Q;$(d,DB);Hz(d,0,0,b,c);a.kb?($(d,(Sy(),Xy)),c=13*(a.X+a.Q),zD(d,c,0,b-c-1,2*a.X+a.Q-1)):($(d,fz(DB)),Z(d,b-1,0,b-1,c-1),Z(d,0,c-1,b-1-2,c-1),$(d,tF),Z(d,0,0,b-1,0));c=a.c;233<=a.c&&262>=a.c&&(a.c=213);for(b=1;13>=b;++b)CF(a,d,b,1),CF(a,d,b,2);a.c=c;RC(a.Fb,a.Cb,0,0)}}
function EF(a,b,c,d,e){var f,g,h,i,l,m,n,o;l=~~(d/4);m=2+~~(l/2);g=2+l;o=c+~~(10*d/24);i=o+l;n=b+d;e?(h=2+b,f=m+b,g+=b):(f=n-m,h=n-2,g=n-g);Z(a,h,o,f,i);Z(a,g,o,f,i);h=~~(l/3);Z(a,f,o+h,f,i);f=d-m-4;i=270;e?(b+=m,e=270):(b=n-f-m,i*=-1,e=-90);vD(a,b,c+m-h,f,d-4-h-1,e,i)}
function dF(a,b){var c,d,e,f,g,h,i;HB(a);if(0==b.indexOf("$RXN")){a.tb=!0;a.fb=!0;g=PF(b);i=new gB(b,g,!0);d=j;for(c=1;5>=c;++c)d=QF(i,g);c=iC(OA(yn(d.substr(0,3)),10)).b;f=iC(OA(yn(d.substr(3,3)),10)).b;QF(i,g);for(d=1;d<=c+f;++d){for(e=j;!(h=QF(i,g),null==h||C(h,"$MOL"));)e+=h+g;a.cb[++a.ob]=new RF(a,e)}yF(a,1,c,1);yF(a,c+1,c+f,3)}else{a.tb=!1;a.Y=new RF(a,b);if(!a.Y||0==a.Y.t)return a.gb=!0,a.I="ERROR - problems in reading/processing MOL input",sB(a),!1;null!=a.i&&a.Y&&yB(a.Y,a.i,!0);null!=a.j&&
a.Y&&yB(a.Y,a.j,!1);g=SF(a.Y,!1);if(1==g)a.cb[++a.ob]=a.Y;else{a.fb=!0;for(d=1;d<=g;++d)a.cb[++a.ob]=new TF(a,a.Y,d)}a.e=1;a.Y=a.cb[a.e];yF(a,1,g,0)}sB(a);return!0}
function UF(a,b){var c,d,e,f,g,h,i,l;HB(a);c=f=0;l=new gB(b,"|>",!0);e=-1<b.indexOf(xb);h=1;g=$A(l);a.ob=0;for(d=1;d<=g;++d)if(i=dB(l),yn(i),!C(i,Ug))if(C(i,xb))++h,2==h?f=a.ob:3==h&&(c=a.ob+1);else{a.Y=new JB(a,i);if(0==a.Y.t)return a.gb=!0,a.I="ERROR - problems in reading/processing molecule !",AA(),!1;++a.ob;a.e=a.ob;a.cb[a.ob]=a.Y}if(2==h)return a.gb=!0,a.I="ERROR - strange reaction - fixing !",AA(),!1;if(3<h)return a.gb=!0,a.I="ERROR - strange reaction !",AA(),!1;1<a.ob&&!e&&rB(a,xf);e&&!a.tb&&
rB(a,Wf);!e&&a.tb&&rB(a,Bf);e?(yF(a,1,f,1),yF(a,f+1,c-1,2),yF(a,c,a.ob,3)):yF(a,1,a.ob,0);sB(a);return!0}function eq(a,b){a.gb=!0;a.I=b}
function iq(a,b){var c,d;if(0!=b){fD(a);c=a.c;a.c=b;if(300>=b)switch(a.jb=!0,a.hb=!0,b){case 102:AF(a);d=a.Z;d.b=d.c;d.c.d=null;break;case 110:a.ib=!0;a.c=c;a.Z.b!=a.Z.c&&a.Z.b.c!=a.Z.c?a.f&&(++a.ob,a.e=a.ob,a.f=!1):(a.gb=!0,a.I="No more undo");if(!(a.Z.b!=a.Z.c&&a.Z.b.c!=a.Z.c))break;d=a.Z;if(!(d.b!=d.c&&d.b.c!=d.c))throw new Ut("Cannot undo. Index is out of range.");if(!d.b.c)throw new Ut(hc);d.b=d.b.c;VF(a,d.b.b);a.ib=!0;break;case 111:a.c=c;if(a.Z.b.d)a.f&&(++a.ob,a.e=a.ob,a.f=!1);else{a.gb=!0;
a.I="No more redo";break}if(!a.Z.b.d)break;d=a.Z;if(!d.b.d)throw new Ut("Cannot redo. Index is out of range.");if(!d.b.d)throw new Ut(hc);d.b=d.b.d;VF(a,d.b.b);a.ib=!0;break;case 152:a.c=c;d=a.vb;0<d.b?(--d.b,d=Ps(d,d.b)):d=null;null==d?(a.gb=!0,a.I=sc):(eq(a,oc+(a.vb.b+1)),d=oC(d),zB(a,d,!1));break;case 151:d=a.vb;d.b<d.d-1?(++d.b,d=Ps(d,d.b)):d=null;null==d?(a.gb=!0,a.I=sc):(eq(a,oc+(a.vb.b+1)),d=oC(d),zB(a,d,!1));break;case 101:a.yb&&mF(a.yb);a.yb=new WF(1,a);a.c=c;break;case 107:!a.rb?a.rb=new XF(a):
a.rb.Tb.d.hb?AE(a.rb.Tb.d):BB(a.rb);break;case 113:a.b&&mF(a.b);a.b=new WF(0,a);a.c=c;break;case 103:a.ib=!0;a.lb=!0;a.c=c;break;case 105:a.ib=!0;a.q&&a.db&&(a.db=!1,tB(a.Y),a.c=c);a.w=1;break;case 112:AA();case 109:a.c=c;d=YF(a.Y);if(2==d){a.gb=!0;a.I="Copying the agent not possible !";break}d=v(dD,k,-1,4,1);eD(a.Y,d);a.ib=!0;a.Y=new xF(a.Y);d=H(~~((a.A.c-a.X)/2)-d[0]);for(c=1;c<=a.Y.t;++c)a.Y.J[c]+=2*d;KB(a.Y);a.cb[++a.ob]=a.Y;a.e=a.ob;break;case 104:0<a.Y.D?(a.ib=!0,aD(a.Y,a.Y.D),a.Y.D=0,hD(a)):
0<a.Y.E&&(a.ib=!0,bD(a.Y,a.Y.E),a.Y.E=0,hD(a));jD(a.Y);break;case 213:a.c=c;if(!a.D){var e,f,g,h;h=new $z;for(d=a.F,e=0,f=d.length;e<f;++e)c=d[e],g=new Tz(c),Zz(h,g),g.d=c,py(g.e,a);px(a,h);a.D=h}kF(a.D.b,a,a.E.b,a.E.c)}else{a.hb=!0;a.jb=!0;switch(b){case 301:a.d=3;break;case 401:a.d=4;break;case 501:a.d=5;break;case 701:a.d=9;break;case 801:a.d=10;break;case 901:a.d=11;break;case 1001:a.d=12;break;case 601:a.d=8;break;case 1101:a.d=7;break;case 1300:a.d=1;break;case 1201:a.o&&(mF(a.o),a.o=null);
0==a.Y.D&&(a.o=new WF(2,a));a.d=18;break;case 1301:a.d=19;break;case 1302:a.d=20;break;case 1303:a.d=21;break;case 1304:a.d=22}0<a.Y.D&&(a.ib=!0,a.d!=a.Y.d[a.Y.D]&&18!=a.d&&(a.Y.d[a.Y.D]=a.d,a.Y.A[a.Y.D]=0,a.Y.x[a.Y.D]=0,hD(a)),18==a.d&&(d=Gn((fq(),gq).Tb.b.pb,Mg),ZF(a.Y,a.Y.D,d),hD(a)),jD(a.Y))}sB(a)}}
function aq(a){var b,c,d;d=LB(a);c=j;if(a.tb){var e,f,g;g=ir([4,a.ob+1]);for(f=1;3>=f;++f){e=0;for(b=1;b<=a.ob;++b)YF(a.cb[b])==f&&(g[f][++e]=b);g[f][0]=e}c=c+"$RXN\n\n\nJME Molecular Editor\n"+($F(g[1][0],3)+$F(g[3][0],3)+aa);for(b=1;b<=g[1][0];++b)c+=ra+aG(a.cb[g[1][b]],d);for(b=1;b<=g[3][0];++b)c+=ra+aG(a.cb[g[3][b]],d)}else 1<a.ob&&(a.Y=new bG(a,a.cb,a.ob)),c=aG(a.Y,d),1<a.ob&&(a.Y=a.cb[a.e]);return c}
function YC(a,b,c,d){var e;e=c;var f=d,g,h;h=ZC(b);g=0!=(b.f&2);h||g?(g=a.tb?(!a.v&&(a.v=oB(a,!0)),a.v):(!a.u&&(a.u=oB(a,!1)),a.u),kF(g.b,a,e,f),e=!0):e=!1;if(!e&&!a.x)if(a.gb=!1,a.Db=c-a.X,a.Eb=d-(2*a.X+a.Q),a.gb=!0,a.I=j,a.db=cD(b),a.eb=!1,c<a.X||d<2*a.X+a.Q){e=0;for(b=1;13>=b;++b)if(c<b*(a.X+a.Q)){e=b;break}c=0;for(b=1;b<=pB+2;++b)if(d<b*(a.X+a.Q)){c=b;break}0==e||0==c||(d=100*c+e,112==d||!a.qb&&107==d||!a.Ab&&201==d||!a.fb&&103==d||!a.nb&&!a.q&&105==d||!a.tb&&109==d||iq(a,d))}else if(!(d>a.A.b-
a.X-1)){a.eb=!0;c-=a.X;d-=2*a.X+a.Q;if(0<a.Y.D)if(104==a.c)aD(a.Y,a.Y.D),a.Y.D=0,hD(a);else{if(106==a.c)return;if(108==a.c)cG(a.Y,a.Y.D,0),hD(a);else if(157==a.c)cG(a.Y,a.Y.D,1),hD(a);else if(158==a.c)cG(a.Y,a.Y.D,-1),hD(a);else if(202==a.c||203==a.c||204==a.c||201==a.c||205==a.c)a.N=1,Y(a.Y,0),a.Y.F=a.Y.D,205==a.c?(a.Y.v=1,a.Y.j[1]=a.Y.t,a.Y.j[0]=a.Y.D,a.Y.E=0):hD(a);else if(206<=a.c&&229>=a.c)a.N=2,dG(a.Y),hD(a);else if(230==a.c)a.N=3,hD(a);else if(233<=a.c&&262>a.c)eG(a.Y,!1),hD(a),a.N=3;else if(107==
a.c){if(a.rb.c)return;ZF(a.Y,a.Y.D,Gn(a.rb.e.Tb.b.pb,Mg));hD(a)}else if(105==a.c)fG(a.Y);else if(300<a.c&&(a.d!=a.Y.d[a.Y.D]||18==a.d))a.Y.d[a.Y.D]=a.d,a.Y.A[a.Y.D]=0,a.Y.x[a.Y.D]=0,18==a.d&&(d=Gn((fq(),gq).Tb.b.pb,Mg),1>d.length&&(d=$c),ZF(a.Y,a.Y.D,d)),hD(a)}else if(0<a.Y.E)if(104==a.c)bD(a.Y,a.Y.E),a.Y.E=0,hD(a);else if(106==a.c){d=a.Y;c=a.Y.E;if(0<d.b[d.H[c]]&&0<d.b[d.I[c]])eq(d.n,"Removal of substituent not possible.");else for(;;){c=0;for(b=d.t;1<=b;--b)0<d.b[b]&&b>c&&(c=b);if(0==c)break;aD(d,
c);d.b[c]=0}a.Y.E=0;hD(a)}else if(201==a.c)gG(a.Y,a.Y.E),hD(a);else if(202==a.c||205==a.c)1==a.Y.s[a.Y.E]&&0==a.Y.B[a.Y.E]?(a.Y.s[a.Y.E]=2,hD(a)):a.Y.s[a.Y.E]=1,a.Y.B[a.Y.E]=0;else if(203==a.c)a.Y.s[a.Y.E]=2,a.Y.B[a.Y.E]=0,hD(a);else if(204==a.c)a.Y.s[a.Y.E]=3,a.Y.B[a.Y.E]=0,hD(a);else if(206<=a.c&&229>=a.c)a.N=2,dG(a.Y),hD(a);else if(107==a.c){if(!a.rb.c)return;d=Gn(a.rb.e.Tb.b.pb,Mg);a.Y.s[a.Y.E]=9;a.Y.f[a.Y.E]=d;hD(a)}else 105==a.c&&(a.gb=!0,a.I="Only atoms may be marked !");else if(0==a.ob||a.lb){if(201>=
a.c)return;++a.ob;a.e=a.ob;a.cb[a.ob]=new BF(a);a.Y=a.cb[a.ob];a.lb=!1;202<=a.c&&204>=a.c||205==a.c?(hG(a.Y),a.Y.u=0,a.Y.z[1]=0,a.Y.J[1]=c,a.Y.M[1]=d,a.Y.D=1,a.Y.F=1,a.N=1,Y(a.Y,0),205==a.c&&(a.Y.J[2]=c+21.65,a.Y.M[2]=d-12.5,a.Y.j[0]=1,a.Y.j[1]=2,a.Y.v=1)):206<=a.c&&229>=a.c?(a.Y.L=c,a.Y.O=d,a.N=2,dG(a.Y)):300<a.c?(hG(a.Y),a.Y.d[1]=a.d,a.Y.u=0,a.Y.z[1]=0,a.Y.J[1]=c,a.Y.M[1]=d,a.Y.D=1,18==a.d&&(d=Gn((fq(),gq).Tb.b.pb,Mg),1>d.length&&(d=$c),ZF(a.Y,1,d))):230==a.c?xB(a,null):233<=a.c&&262>a.c?(hG(a.Y),
a.Y.u=0,a.Y.z[1]=0,a.Y.J[1]=c,a.Y.M[1]=d,a.Y.D=1,eG(a.Y,!0)):AA();hD(a)}jD(a.Y);a.hb=!1;a.jb=!1;a.ib=!0;sB(a)}}function fD(a){a.hb=!1;a.jb=!1;a.ib=!1}
function rB(a,b){var c,b=b.toLowerCase();-1<b.indexOf("norbutton")?a.sb=!1:-1<b.indexOf("rbutton")&&(a.sb=!0);-1<b.indexOf("nohydrogens")?a.xb=!1:-1<b.indexOf("hydrogens")&&(a.xb=!0);-1<b.indexOf("keephs")&&(a.M=!0);-1<b.indexOf("removehs")&&(a.M=!1);-1<b.indexOf("noquery")?a.qb=!1:-1<b.indexOf("query")&&(a.qb=!0);-1<b.indexOf(Bf)?a.tb=!1:-1<b.indexOf(Wf)&&(a.tb=!0);-1<b.indexOf("noautoez")?a.p=!1:-1<b.indexOf("autoez")&&(a.p=!0);-1<b.indexOf("nostereo")?a.Ab=!1:-1<b.indexOf("stereo")&&(a.Ab=!0);
-1<b.indexOf("nocanonize")?a.r=!1:-1<b.indexOf("canonize")&&(a.r=!0);-1<b.indexOf("nomultipart")?a.fb=!1:-1<b.indexOf(xf)&&(a.fb=!0);-1<b.indexOf("nonumber")?(a.nb=!1,a.q=!1):-1<b.indexOf(Ff)&&(a.nb=!0,a.q=!1);-1<b.indexOf("newlook")?(a.kb=!0,a.Q=1):-1<b.indexOf("oldlook")&&(a.kb=!1,a.Q=0);-1<b.indexOf("autonumber")&&(a.q=!0,a.nb=!0);-1<b.indexOf("star")&&(a.zb=!0,a.nb=!0);-1<b.indexOf("polarnitro")&&(a.pb=!0);-1<b.indexOf("depict")&&(a.x=!0,a.X=0,a.bb=null,yF(a,1,a.ob,0));if(-1<b.indexOf("nodepict")){a.x=
!1;for(c=1;c<=a.ob;++c)iG(a.cb[c]),zF(a.cb[c]);a.z=1;a.X=24;a.Y&&(a.Y.w=!0)}-1<b.indexOf(vd)&&(a.y=!0);b.indexOf("writesmi");b.indexOf("writemi");b.indexOf("writemol");-1<b.indexOf("nocenter")&&(a.mb=!0);-1<b.indexOf("jmeh")&&(a.L=!0);-1<b.indexOf("showan")&&(a.wb=!0);a.tb&&(a.q=!0,a.fb=!0);a.x||(a.y=!1);a.sb&&++pB;sB(a)}
function sB(a){var b,c,d;b=ly(a);!a.A||b.c!=a.A.c||b.b!=a.A.b||!a.bb||!a.H?(a.A=b,d=b.c-a.X,c=b.b-3*a.X-a.Q,1>d&&(d=1),1>c&&(c=1),a.bb=iy(a,d,c),JF(a),a.x||(a.Cb=iy(a,b.c,2*a.X+a.Q),OF(a),c=b.b-2*a.X+a.Q,1>c&&(c=1),a.O=iy(a,a.X,c),IF(a),a.H=iy(a,d,a.X),HF(a))):(JF(a),a.x||(HF(a),a.B&&(OF(a),IF(a)),a.B=!0));a.hb=!0;a.jb=!0;a.ib=!0;a.gb=!0}
function FB(a,b){var c,d,e;e=j;for(d=1;d<=a.ob;++d){if(0<b&&(c=YF(a.cb[d]),c!=b))continue;c=a.cb[d];for(var f=void 0,g=void 0,h=void 0,i=void 0,l=g=f=void 0,m=void 0,h=void 0,m=j+c.t+ca+c.u,i=1;i<=c.t;++i){h=LF(c,i);c.n.L&&0<c.x[i]&&(h+=bc,1<c.x[i]&&(h+=c.x[i]));0!=c.A[i]&&(0<c.A[i]?h+=Ca:h+=Fa,1<dj(c.A[i])&&(h+=dj(c.A[i])));g=-1;for(f=1;f<=c.y;++f)if(c.q[f][0]==i){g=c.q[f][1];break}c.n.zb&&0<c.c[i]&&(g=1);-1<g&&(h+=rb+g);m+=ca+h+ca+jG(0.055999999999999994*c.J[i],0,2)+ca+jG(0.055999999999999994*-c.M[i],
0,2)}for(i=1;i<=c.u;++i)f=c.H[i],g=c.I[i],l=c.s[i],1==c.B[i]?l=-1:2==c.B[i]?l=-2:3==c.B[i]?(l=-1,h=f,f=g,g=h):4==c.B[i]?(l=-2,h=f,f=g,g=h):10==c.B[i]&&(l=-5),9==c.s[i]&&(l=c.B[i]),m+=ca+f+ca+g+ca+l;c=m;0<c.length&&(0<e.length&&(e+=Ug),e+=c)}return e}function wF(a,b){var c,d,e;e=j;for(c=1;c<=a.ob;++c){if(0<b&&(d=YF(a.cb[c]),d!=b))continue;d=kG(a.cb[c]);0<d.length&&(0<e.length&&(e+=bb),e+=d)}return e}
function hD(a){var b,c,d,e;e=new lG;e.b=a.e;e.e=a.ob;c=!1;for(b=1;99>b;++b)if(d=a.cb[b])0<d.t&&(c=!0),e.c[b]=new xF(d),KB(e.c[b]);else break;e.f=a.tb;e.d=a.fb;if(b=c?e:null)a=a.Z,b=new qF(b),c=a.b.d,a.b.d=b,b.c=a.b,c&&(b.d=c,c.c=b),a.b=b}function zB(a,b,c){try{dF(a,b)?c&&hD(a):sB(a)}catch(d){if(d=ii(d),y(d,113))sB(a);else throw d;}}function xB(a,b){try{UF(a,b)?hD(a):sB(a)}catch(c){if(c=ii(c),y(c,113))sB(a);else throw c;}}
function HB(a){a.c=202;a.lb=!1;a.ob=0;a.e=0;a.Y=new BF(a);a.Y.r=0;a.ab=null;a.z=1;a.ib=!0;sB(a)}function VF(a,b){var c,d;a.e=b.b;a.ob=b.e;for(c=1;99>c;++c)(d=b.c[c])?(a.cb[c]=new xF(d),KB(a.cb[c])):a.cb[c]=null;a.Y=a.cb[a.e];a.tb=b.f;a.fb=b.d}
function IB(a,b){var c;c=-1;C(b,"Select substituent")?(c=202,b=j):C(b,Na)?c=235:C(b,Oa)?c=240:C(b,Ma)?c=260:C(b,Sa)?c=261:C(b,Xa)?c=241:C(b,Ra)?c=233:C(b,Qa)?c=236:C(b,Pa)?c=237:C(b,Wa)?c=234:C(b,Va)?c=243:C(b,Ya)?c=252:C(b,Ua)?c=244:C(b,Za)?c=239:C(b,"-PO3H2")?c=251:C(b,Ja)?c=242:C(b,Ha)?c=245:C(b,Ia)&&(c=238);0<c?iq(a,c):b="Not known group!";a.gb=!0;a.I=b;sB(a)}function LB(a){var b;b=GB(a);sB(a);return b}
function DF(a,b,c,d,e){var f,g;f=a.U;g=eA(f,e);g>=a.X?(f=a.W,g=eA(f,e),BD(b,a.V)):BD(b,a.R);f=wz(f.d).b;AD(b,e,c+~~((a.X-g)/2),d+~~((a.X-f)/2)+f)}function FF(a,b,c,d,e,f){var g,h;g=wz(a.T.d).b;h=eA(a.T,f);BD(b,a.S);(b.d=e)&&(b.e=Zf+(e.b>>16&255)+Da+(e.b>>8&255)+Da+(e.b&255)+Aa);AD(b,f,c+~~((a.X-h)/2),d+~~((a.X-g)/2)+g)}function hq(a,b){a.q?0==b&&(a.w=-1,a.gb=!0,a.I=Fd,sB(a)):(a.P?a.w=b:-1<a.w&&10>a.w?a.w=10*a.w+b:a.w=b,a.P=!1,0==a.w?(a.w=-1,a.gb=!0,a.I=Fd):eq(a,a.w+ca),sB(a))}
function lB(){rF();gy.call(this);this.Fb=(up(),up(),Ox).b;this.s=(Sy(),Ty);this.cb=v(mG,k,128,99,0);this.$=new ey;this.vb=new nG;this.J=C((AA(),BA[Oe]),mc);this.t=new oG;this.F=E(tr,k,1,[Na,Oa,Xa,Ma,Sa,Ra,Qa,Pa,Wa,Ya,Ua,Va,Ja,Ia,Ha]);this.Y=new BF(this);vF[0]=Wy;vF[1]=new Uy(255,153,153);vF[2]=new Uy(255,204,102);vF[3]=new Uy(255,255,153);vF[4]=new Uy(102,255,255);vF[5]=new Uy(51,204,255);vF[6]=new Uy(255,153,255)}t(538,364,Dh,lB);_.b=null;_.c=0;_.d=0;_.e=0;_.f=!1;_.i=null;_.j=null;_.k=null;_.n=null;
_.o=null;_.p=!1;_.q=!1;_.r=!0;_.u=null;_.v=null;_.w=1;_.x=!1;_.y=!1;_.z=1;_.A=null;_.B=!0;_.C=10;_.D=null;_.E=null;_.G="http://peter-ertl.com/jsme/2013_01/help.html";_.H=null;_.I=null;_.K=null;_.L=!1;_.M=!0;_.N=0;_.O=null;_.P=!0;_.Q=1;_.R=null;_.S=null;_.T=null;_.U=null;_.V=null;_.W=null;_.X=24;_.Y=null;_.Z=null;_._=null;_.ab=null;_.bb=null;_.db=!1;_.eb=!1;_.fb=!1;_.gb=!0;_.hb=!0;_.ib=!0;_.jb=!0;_.kb=!0;_.lb=!1;_.mb=!1;_.nb=!1;_.ob=0;_.pb=!1;_.qb=!1;_.rb=null;_.sb=!1;_.tb=!1;_.ub=!1;_.wb=!1;
_.xb=!0;_.yb=null;_.zb=!1;_.Ab=!0;_.Bb=null;_.Cb=null;_.Db=0;_.Eb=0;var pB=10,DB,tF,uB,sF,nB=null,vF,vB;function bq(a){this.b=a}t(539,1,{},bq);_.b=null;function QD(){QD=u;RD=new pG("COPY_SMILES",0);SD=new pG("COPY_MOL",1);TD=new pG("PASTE",2);qG=E(rG,k,127,[RD,SD,TD])}function pG(a,b){D.call(this,a,b)}t(540,138,{107:1,110:1,112:1,127:1},pG);var qG,SD,RD,TD;function lG(){this.c=v(mG,k,128,99,0)}t(541,1,{},lG);_.b=0;_.d=!1;_.e=0;_.f=!1;
function sG(a){a.d=v(G,r,-1,20,1);a.A=v(G,r,-1,20,1);a.J=v(dD,k,-1,20,1);a.M=v(dD,k,-1,20,1);a.G=ir([20,7]);a.c=v(G,r,-1,20,1);a.e=v(tr,k,1,20,0);a.o=v(tr,k,1,20,0);a.x=v(G,r,-1,20,1);a.z=v(G,r,-1,20,1);a.H=v(G,r,-1,20,1);a.I=v(G,r,-1,20,1);a.s=v(G,r,-1,20,1);a.B=v(G,r,-1,20,1);a.K=v(G,r,-1,20,1);a.N=v(G,r,-1,20,1);a.f=v(tr,k,1,20,0);a.q=ir([10,2]);a.j=v(G,r,-1,101,1)}
function tG(a,b,c,d){var e,f,g,h,i,l,m,n,o;i=v(G,r,-1,4,1);f=a.J[c]-a.J[b];g=a.M[c]-a.M[b];m=Math.sqrt(f*f+g*g);0.001>m&&(m=0.001);o=g/m;e=f/m;l=v(G,r,-1,4,1);for(h=0;4>h;++h)d[h]==c||0>=d[h]||(0==l[1]?l[1]=d[h]:0==l[2]?l[2]=d[h]:0==l[3]&&(l[3]=d[h]));n=v(dD,k,-1,4,1);d=v(dD,k,-1,4,1);for(h=1;3>=h;++h)3==h&&0==l[3]||(f=(a.J[l[h]]-a.J[b])*e+(a.M[l[h]]-a.M[b])*o,g=(a.M[l[h]]-a.M[b])*e-(a.J[l[h]]-a.J[b])*o,m=Math.sqrt(f*f+g*g),0.001>m&&(m=0.001),n[h]=g/m,d[h]=f/m);a=uG(n[1],d[1],n[2],d[2]);0<l[3]?(b=
uG(n[2],d[2],n[3],d[3]),d=uG(n[1],d[1],n[3],d[3]),0<a&&0<b?(i[1]=l[1],i[2]=l[2],i[3]=l[3]):0<d&&0>b?(i[1]=l[1],i[2]=l[3],i[3]=l[2]):0>a&&0<d?(i[1]=l[2],i[2]=l[1],i[3]=l[3]):0<b&&0>d?(i[1]=l[2],i[2]=l[3],i[3]=l[1]):0>d&&0<a?(i[1]=l[3],i[2]=l[1],i[3]=l[2]):0>b&&0>a&&(i[1]=l[3],i[2]=l[2],i[3]=l[1])):0<a?(i[1]=l[1],i[2]=l[2]):(i[1]=l[2],i[2]=l[1]);i[0]=c;return i}
function Y(a,b){var c,d,e,f,g,h,i,l;hG(a);switch(a.z[a.D]){case 0:a.J[a.t]=a.J[a.D]+21.65*a.n.z;a.M[a.t]=a.M[a.D]+12.5*a.n.z;break;case 1:c=a.G[a.D][1];d=0;2==a.z[c]&&(a.G[c][1]==a.D?d=a.G[c][2]:d=a.G[c][1]);e=a.J[a.D]-a.J[c];f=a.M[a.D]-a.M[c];h=Math.sqrt(e*e+f*f);0.001>h&&(h=0.001);f/=h;e/=h;i=h+25*a.n.z*Math.cos(1.0471975511965976);l=25*a.n.z*Math.sin(1.0471975511965976);g=vG(a,a.D,c);if(3==a.s[g]||204==a.n.c||1!=a.s[g]&&(203==a.n.c||204==a.n.c)||a.p)i=h+25*a.n.z,l=0;0<d&&0<(a.M[d]-a.M[c])*e-(a.J[d]-
a.J[c])*f&&(l=-l);0<b&&0>l?l=-l:0>b&&0<l&&(l=-l);a.J[a.t]=a.J[c]+i*e-l*f;a.M[a.t]=a.M[c]+l*e+i*f;break;case 2:c=v(dD,k,-1,2,1);wG(a,a.D,25*a.n.z,c);a.J[a.t]=c[0];a.M[a.t]=c[1];break;case 3:case 4:case 5:for(g=1;g<=a.z[a.D]&&!(c=a.G[a.D][g],e=a.J[a.D]-a.J[c],f=a.M[a.D]-a.M[c],h=Math.sqrt(e*e+f*f),0.001>h&&(h=0.001),a.J[a.t]=a.J[a.D]+25*a.n.z*e/h,a.M[a.t]=a.M[a.D]+25*a.n.z*f/h,0==$C(a,a.t)||g==a.z[a.D]);++g);break;default:--a.t;eq(a.n,"Are you trying to draw an hedgehog ?");a.n.N=9;return}a.z[a.t]=
1;++a.z[a.D];gD(a);a.s[a.u]=1;203==a.n.c&&(a.s[a.u]=2);204==a.n.c&&(a.s[a.u]=3);a.H[a.u]=a.D;a.I[a.u]=a.t;201==a.n.c&&gG(a,a.u);a.G[a.t][1]=a.D;a.G[a.D][a.z[a.D]]=a.t;a.K[a.u]=K(I(mC((a.J[a.D]+a.J[a.t])/2)));a.N[a.u]=K(I(mC((a.M[a.D]+a.M[a.t])/2)));a.L=a.J[a.t];a.O=a.M[a.t]}
function eG(a,b){var c;a.F=a.D;c=0;if(233==a.n.c||237==a.n.c||236==a.n.c||239==a.n.c||251==a.n.c||252==a.n.c)Y(a,0),a.D=a.t,a.p=!0,Y(a,0),a.p=!1,a.D=a.t-1,Y(a,0),a.D=a.t-2,Y(a,0),237==a.n.c&&(a.d[a.t]=10,a.d[a.t-1]=10,a.d[a.t-2]=10),236==a.n.c&&(a.d[a.t]=9,a.d[a.t-1]=9,a.d[a.t-2]=9),239==a.n.c&&(a.d[a.t]=5,a.d[a.t-1]=5,a.d[a.t-2]=5,a.d[a.t-3]=8,a.s[a.u]=2,a.s[a.u-1]=2),252==a.n.c&&(a.d[a.t]=5,a.d[a.t-1]=5,a.d[a.t-2]=4,a.d[a.t-3]=8,a.s[a.u]=2,a.s[a.u-1]=2),251==a.n.c&&(a.d[a.t]=5,a.d[a.t-1]=5,a.d[a.t-
2]=5,a.d[a.t-3]=7,a.s[a.u]=2),c=4;else if(244==a.n.c)Y(a,0),a.d[a.t]=4,a.D=a.t,Y(a,0),a.d[a.t]=8,a.D=a.t,a.p=!0,Y(a,0),a.p=!1,a.D=a.t-1,Y(a,0),a.d[a.t]=5,a.s[a.u]=2,a.D=a.t-2,Y(a,0),a.d[a.t]=5,a.s[a.u]=2,c=5;else if(234==a.n.c)Y(a,0),a.d[a.t]=4,a.D=a.t,a.n.pb&&cG(a,a.D,1),Y(a,0),a.d[a.t]=5,a.s[a.u]=2,a.D=a.t-1,Y(a,0),a.d[a.t]=5,a.n.pb?(a.s[a.u]=1,cG(a,a.t,-1)):a.s[a.u]=2,c=3;else if(235==a.n.c)Y(a,0),a.D=a.t,Y(a,0),a.d[a.t]=5,a.D=a.t-1,Y(a,0),a.d[a.t]=5,a.s[a.u]=2,c=3;else if(240==a.n.c)Y(a,0),a.D=
a.t,Y(a,0),a.d[a.t]=5,a.D=a.t,Y(a,0),a.D=a.t-2,Y(a,0),a.d[a.t]=5,a.s[a.u]=2,c=4;else if(260==a.n.c)Y(a,0),a.D=a.t,Y(a,0),a.d[a.t]=4,a.D=a.t-1,Y(a,0),a.d[a.t]=5,a.s[a.u]=2,c=3;else if(261==a.n.c)Y(a,0),a.d[a.t]=4,a.D=a.t,Y(a,0),a.D=a.t,Y(a,0),a.d[a.t]=5,a.s[a.u]=2,c=3;else if(241==a.n.c)Y(a,0),a.d[a.t]=5,a.D=a.t,Y(a,0),a.D=a.t,Y(a,0),a.D=a.t-1,Y(a,0),a.s[a.u]=2,a.d[a.t]=5,c=4;else if(243==a.n.c)Y(a,0),a.d[a.t]=4,a.D=a.t,Y(a,0),a.D=a.t-1,Y(a,0),c=3;else if(238==a.n.c)Y(a,0),a.D=a.t,a.p=!0,Y(a,0),a.s[a.u]=
3,a.p=!1,c=2;else if(249==a.n.c)Y(a,0),a.D=a.t,Y(a,0),a.s[a.u]=2,a.d[a.t]=5,c=2;else if(250==a.n.c)Y(a,0),a.s[a.u]=2,a.d[a.t]=5,c=1;else if(245==a.n.c)Y(a,0),a.D=a.t,a.p=!0,Y(a,0),a.D=a.t,a.s[a.u]=3,Y(a,0),a.p=!1,c=3;else if(242==a.n.c)Y(a,0),a.D=a.t,a.p=!0,Y(a,0),a.s[a.u]=3,a.d[a.t]=4,a.p=!1,c=2;else if(254==a.n.c)Y(a,0),a.d[a.t]=9,c=1;else if(255==a.n.c)Y(a,0),a.d[a.t]=10,c=1;else if(256==a.n.c)Y(a,0),a.d[a.t]=11,c=1;else if(257==a.n.c)Y(a,0),a.d[a.t]=12,c=1;else if(258==a.n.c)Y(a,0),a.d[a.t]=4,
c=1;else if(259==a.n.c)Y(a,0),a.d[a.t]=5,c=1;else if(246==a.n.c)Y(a,0),a.D=a.t,Y(a,0),c=2;else if(247==a.n.c)Y(a,0),a.D=a.t,Y(a,0),a.D=a.t,Y(a,0),c=3;else if(248==a.n.c)Y(a,0),a.D=a.t,Y(a,0),a.D=a.t,Y(a,0),a.D=a.t,Y(a,0),c=4;else if(253==a.n.c){var d,e,f,g,h,i,l,m,n,o,q;if(a.n.Bb){c=0;m=a.n.Bb;for(l=1;l<=m.y;++l)d=m.q[l][0],1==m.q[l][1]&&(c=d);d=a.t;l=a.D;Y(a,0);e=a.J[a.t];g=a.M[a.t];aD(a,a.t);e=a.J[l]-e;g=a.M[l]-g;i=Math.sqrt(e*e+g*g);g/=i;e/=i;for(i=1;i<=m.t;++i)hG(a),a.d[a.t]=m.d[i],a.A[a.t]=m.A[i],
a.x[a.t]=m.x[i],a.J[a.t]=m.J[i],a.M[a.t]=m.M[i];for(i=1;i<=m.u;++i)gD(a),a.H[a.u]=m.H[i]+d,a.I[a.u]=m.I[i]+d,a.s[a.u]=m.s[i];KB(a);a.D=c+d;Y(a,0);m=a.J[a.t];o=a.M[a.t];aD(a,a.t);f=a.J[c+d]-m;h=a.M[c+d]-o;i=Math.sqrt(f*f+h*h);h/=i;f/=i;for(i=d+1;i<=a.t;++i)a.J[i]-=m,a.M[i]-=o,n=a.J[i]*f+a.M[i]*h,q=a.M[i]*f-a.J[i]*h,a.J[i]=n,a.M[i]=q,n=-a.J[i]*e+a.M[i]*g,q=-a.M[i]*e-a.J[i]*g,a.J[i]=n,a.M[i]=q,a.J[i]+=a.J[l],a.M[i]+=a.M[l];gD(a);a.H[a.u]=l;a.I[a.u]=c+d;KB(a);b&&(aD(a,l),zF(a))}c=4}xG(a,c);a.D=a.F;b&&
(a.D=0)}
function wG(a,b,c,d){var e,f,g,h,i;e=a.G[b][1];f=a.G[b][2];g=a.J[f]-a.J[e];h=-(a.M[f]-a.M[e]);i=Math.sqrt(g*g+h*h);0.001>i&&(i=0.001);h/=i;g/=i;1>(0>=(a.M[b]-a.M[e])*g+(a.J[b]-a.J[e])*h?0-((a.M[b]-a.M[e])*g+(a.J[b]-a.J[e])*h):(a.M[b]-a.M[e])*g+(a.J[b]-a.J[e])*h)?(g=a.J[b]-a.J[e],h=a.M[b]-a.M[e],i=Math.sqrt(g*g+h*h),0.001>i&&(i=0.001),h/=i,g/=i,d[0]=a.J[e]+i*g-c*h,d[1]=a.M[e]+c*g+i*h):(g=(a.J[e]+a.J[f])/2,e=(a.M[e]+a.M[f])/2,g=a.J[b]-g,h=a.M[b]-e,i=Math.sqrt(g*g+h*h),0.001>i&&(i=0.001),d[0]=a.J[b]+
c*g/i,d[1]=a.M[b]+c*h/i)}
function dG(a){var b,c,d,e,f,g,h,i,l,m,n,o,q;l=-1;h=6;switch(a.n.c){case 206:h=3;break;case 207:h=4;break;case 208:case 221:case 223:h=5;break;case 210:case 209:h=6;break;case 211:h=7;break;case 212:h=8;break;case 229:h=9}f=6.283185307179586/h;i=625*a.n.z*a.n.z/2/(1-Math.cos(f));i=Math.sqrt(i);if(0<a.D)if(2>a.z[a.D])yG(a,h,f,i);else if(a.n.db){if(209==a.n.c||221==a.n.c||223==a.n.c){eq(a.n,"ERROR - cannot add aromatic spiro ring !");a.n.N=9;return}for(d=1;d<=a.z[a.D];++d)if(b=a.s[vG(a,a.D,a.G[a.D][d])],
2<d||1!=b){eq(a.n,"ERROR - spiro ring not possible here !");a.n.N=9;return}b=v(dD,k,-1,2,1);wG(a,a.D,i,b);e=a.J[a.D]-b[0];g=a.M[a.D]-b[1];m=Math.sqrt(e*e+g*g);0.001>m&&(m=0.001);g/=m;e/=m;for(d=1;d<=h;++d)hG(a),n=f*d+1.5707963267948966,a.J[a.t]=b[0]+i*(Math.sin(n)*e-Math.cos(n)*g),a.M[a.t]=b[1]+i*(Math.cos(n)*e+Math.sin(n)*g)}else l=a.D,Y(a,0),a.D=a.t,yG(a,h,f,i);else if(0<a.E){b=a.H[a.E];c=a.I[a.E];d=0;2==a.z[b]?a.G[b][1]!=c?d=a.G[b][1]:d=a.G[b][2]:2==a.z[c]&&(a.G[c][1]!=b?d=a.G[c][1]:d=a.G[c][2],
m=b,b=c,c=m);0==d&&(a.G[b][1]!=c?d=a.G[b][1]:d=a.G[b][2]);e=a.J[c]-a.J[b];g=a.M[c]-a.M[b];m=Math.sqrt(e*e+g*g);0.001>m&&(m=0.001);g/=m;e/=m;n=m/2;q=i*Math.sin(0.5*(3.141592653589793-f));m=1;0<(a.M[d]-a.M[b])*e-(a.J[d]-a.J[b])*g&&(q=-q,m=0);o=a.J[b]+n*e-q*g;q=a.M[b]+q*e+n*g;for(d=1;d<=h;++d)hG(a),n=f*(d+0.5)+3.141592653589793*m,a.J[a.t]=o+i*(Math.sin(n)*e-Math.cos(n)*g),a.M[a.t]=q+i*(Math.cos(n)*e+Math.sin(n)*g),1==m?(d==h&&(a.J[a.t]=a.J[b],a.M[a.t]=a.M[b]),d==h-1&&(a.J[a.t]=a.J[c],a.M[a.t]=a.M[c])):
(d==h-1&&(a.J[a.t]=a.J[b],a.M[a.t]=a.M[b]),d==h&&(a.J[a.t]=a.J[c],a.M[a.t]=a.M[c]))}else{b=0.5;6==h&&(b=0);for(d=1;d<=h;++d)hG(a),n=f*(d-b),a.J[a.t]=a.L+i*Math.sin(n),a.M[a.t]=a.O+i*Math.cos(n)}b=h;i=0;for(f=1;f<=b;++f)gD(a),a.s[a.u]=1,i=a.t-b+f,a.z[i]=2,a.H[a.u]=i,a.I[a.u]=i+1;a.I[a.u]=a.t-b+1;if(209==a.n.c){if(a.s[a.u-4]=2,a.s[a.u-2]=2,a.s[a.u]=2,0<a.E)if(1==a.s[a.E]){if(b=0,1<a.z[a.H[a.E]]&&(b=a.G[a.H[a.E]][1],i=a.H[a.E],b==a.I[a.E]&&(b=a.G[a.H[a.E]][2])),0==b&&1<a.z[a.I[a.E]]&&(b=a.G[a.I[a.E]][1],
i=a.I[a.E],b==a.I[a.E]&&(b=a.G[a.I[a.E]][2])),0<b)for(f=1;f<=a.u;++f)if(a.H[f]==b&&a.I[f]==i||a.H[f]==i&&a.I[f]==b){1!=a.s[f]&&(a.s[a.u-4]=1,a.s[a.u-2]=1,a.s[a.u]=1,a.s[a.u-5]=2,a.s[a.u-3]=2,a.s[a.u-1]=3);break}}else a.s[a.u-4]=1,a.s[a.u-2]=1,a.s[a.u]=1,a.s[a.u-5]=2,a.s[a.u-3]=2,a.s[a.u-1]=2}else if(221==a.n.c||223==a.n.c)if(0<a.E){if(1==a.s[a.E]){b=!1;for(f=1;f<=a.z[a.H[a.E]];++f)if(i=a.G[a.H[a.E]][f],1<a.s[vG(a,a.H[a.E],i)]){b=!0;break}for(f=1;f<=a.z[a.I[a.E]];++f)if(i=a.G[a.I[a.E]][f],1<a.s[vG(a,
a.I[a.E],i)]){b=!0;break}b||(a.s[a.E]=2)}a.s[a.u-4]=2;a.d[a.t-2]=5}else 0<a.D?221==a.n.c?(a.s[a.u-4]=1,a.s[a.u-2]=1,a.s[a.u-1]=1,a.s[a.u-3]=2,a.s[a.u]=2,a.d[a.t-1]=5):(a.s[a.u-3]=1,a.s[a.u-2]=1,a.s[a.u]=1,a.s[a.u-4]=2,a.s[a.u-1]=2,a.d[a.t-2]=5):(a.s[a.u-3]=1,a.s[a.u-2]=1,a.s[a.u]=1,a.s[a.u-4]=2,a.s[a.u-1]=2,a.d[a.t-2]=5);i=v(G,r,-1,a.t+1,1);for(f=1;f<=h;++f)b=a.t-h+f,c=a.u-h+f,a.G[b][1]=b-1,a.G[b][2]=b+1,b=a.H[c],e=a.I[c],a.K[c]=K(I(mC((a.J[b]+a.J[e])/2))),a.N[c]=K(I(mC((a.M[b]+a.M[e])/2)));a.G[a.t-
h+1][1]=a.t;a.G[a.t][2]=a.t-h+1;for(f=a.t-h+1;f<=a.t;++f){i[f]=0;g=51;c=0;for(b=1;b<=a.t-h;++b)e=a.J[f]-a.J[b],d=a.M[f]-a.M[b],e=e*e+d*d,50>e&&e<g&&(g=e,c=b);0<c&&(0==a.D||c==a.D)&&(i[f]=c)}g=a.u-h;f=g+1;a:for(;f<=g+h;++f)if(b=a.H[f],e=a.I[f],0<i[b]&&0<i[e]){for(c=1;c<=g;++c)if(a.H[c]==i[b]&&a.I[c]==i[e]||a.I[c]==i[b]&&a.H[c]==i[e])continue a;gD(a);a.s[a.u]=a.s[f];a.H[a.u]=i[b];a.G[i[b]][++a.z[i[b]]]=i[e];a.I[a.u]=i[e];a.G[i[e]][++a.z[i[e]]]=i[b];a.K[a.u]=K(I(mC((a.J[a.H[a.u]]+a.J[a.I[a.u]])/2)));
a.N[a.u]=K(I(mC((a.M[a.H[a.u]]+a.M[a.I[a.u]])/2)))}else 0<i[b]?(gD(a),a.s[a.u]=a.s[f],a.H[a.u]=i[b],a.G[i[b]][++a.z[i[b]]]=e,a.I[a.u]=e,a.G[e][++a.z[e]]=i[b],a.K[a.u]=K(I(mC((a.J[a.H[a.u]]+a.J[a.I[a.u]])/2))),a.N[a.u]=K(I(mC((a.M[a.H[a.u]]+a.M[a.I[a.u]])/2)))):0<i[e]&&(gD(a),a.s[a.u]=a.s[f],a.H[a.u]=i[e],a.G[i[e]][++a.z[i[e]]]=b,a.I[a.u]=b,a.G[b][++a.z[b]]=i[e],a.K[a.u]=K(I(mC((a.J[a.H[a.u]]+a.J[a.I[a.u]])/2))),a.N[a.u]=K(I(mC((a.M[a.H[a.u]]+a.M[a.I[a.u]])/2))));d=a.t-h;for(f=a.t;f>d;--f)if(0<i[f]&&
(aD(a,f),3==a.d[i[f]])){m=0;for(b=1;b<=a.z[i[f]];++b){e=a.G[i[f]][b];for(c=1;c<=a.u;++c)(a.H[c]==i[f]&&a.I[c]==e||a.H[c]==e&&a.I[c]==i[f])&&(m+=a.s[c])}if(4<m)for(c=g+1;c<=g+h;++c)a.s[c]=1}0<a.D&&xG(a,h);-1<l&&(a.D=l)}
function yG(a,b,c,d){var e,f,g,h,i,l;0==a.z[a.D]?(e=0,f=1):(e=a.G[a.D][1],f=a.J[a.D]-a.J[e],e=a.M[a.D]-a.M[e],g=Math.sqrt(f*f+e*e),0.001>g&&(g=0.001),e/=g,f/=g);i=a.J[a.D]+d*f;l=a.M[a.D]+d*e;for(g=1;g<=b;++g)hG(a),h=c*g-1.5707963267948966,a.J[a.t]=i+d*(Math.sin(h)*f-Math.cos(h)*e),a.M[a.t]=l+d*(Math.cos(h)*f+Math.sin(h)*e)}function xG(a,b){var c,d;0==b&&(b=a.t);for(c=a.t;c>a.t-b;--c)d=$C(a,c),0!=d&&(a.J[c]+=6,a.M[c]+=6)}
function vG(a,b,c){var d;for(d=1;d<=a.u;++d)if(a.H[d]==b&&a.I[d]==c||a.H[d]==c&&a.I[d]==b)return d;return 0}function zG(a,b,c){var d,e,f,g;e=Vg;for(f=g=0;;){++g;for(d=1;d<=a.t;++d)if(Ur(c[d])){e=c[d];break}for(d=1;d<=a.t;++d)Ur(c[d])&&!Jr(c[d],e)&&(e=c[d]);for(d=1;d<=a.t;++d)Or(c[d],e)&&(b[d]=g,c[d]=Vg,++f);if(f==a.t)break}return g==a.t}
function zF(a){var b,c,d;b=v(dD,k,-1,4,1);d=c=0;a.n&&a.n.A&&0<a.n.A.c&&(c=a.n.A.c-a.n.X,d=a.n.A.b-3*a.n.X);if(0>=c||0>=d)a.w=!0;else{eD(a,b);c=~~(c/2)-K(I(Math.round(b[0])));d=~~(d/2)-K(I(Math.round(b[1])));if(!a.n.mb)for(b=1;b<=a.t;++b)a.J[b]+=c,a.M[b]+=d;iD(a)}}
function eD(a,b){var c,d,e,f,g;f=9999;d=-9999;g=9999;e=-9999;for(c=1;c<=a.t;++c)a.J[c]<f&&(f=a.J[c]),a.J[c]>d&&(d=a.J[c]),a.M[c]<g&&(g=a.M[c]),a.M[c]>e&&(e=a.M[c]);b[0]=f+(d-f)/2;b[1]=g+(e-g)/2;b[2]=d-f;b[3]=e-g;25>b[2]&&(b[2]=25);25>b[3]&&(b[3]=25)}
function cG(a,b,c){var d;if(1==c)++a.A[b];else if(-1==c)--a.A[b];else switch(d=AG(a,b),-1==d&&0==c&&(0==a.A[b]?a.A[b]=1:1==a.A[b]?a.A[b]=-1:-1==a.A[b]&&(a.A[b]=0)),a.d[b]){case 2:2<d&&eq(a.n,"Charge change not possible on this boron !");0==a.A[b]?a.A[b]=1:1==a.A[b]&&(a.A[b]=0);break;case 3:3<d?eq(a.n,"Charge change not possible on this carbon !"):4>d&&(0==a.A[b]?a.A[b]=-1:-1==a.A[b]?a.A[b]=1:1==a.A[b]&&(a.A[b]=0));break;case 4:case 7:3<d?eq(a.n,"Charge change not possible on multibonded N or P !"):
3==d&&0==a.A[b]?a.A[b]=1:3==d&&1==a.A[b]?a.A[b]=0:3>d&&0==a.A[b]?a.A[b]=1:3>d&&1==a.A[b]?a.A[b]=-1:3>d&&-1==a.A[b]&&(a.A[b]=0);break;case 5:case 8:case 13:2<d?eq(a.n,"Charge change not possible on multibonded O or S !"):2==d&&0==a.A[b]?a.A[b]=1:2==d&&1==a.A[b]?a.A[b]=0:2>d&&0==a.A[b]?a.A[b]=-1:2>d&&-1==a.A[b]?a.A[b]=1:2>d&&1==a.A[b]&&(a.A[b]=0);break;case 9:case 10:case 11:case 12:0==d&&0==a.A[b]?a.A[b]=-1:0==d&&-1==a.A[b]?a.A[b]=0:eq(a.n,"Charge change not possible on the halogen !");break;case 18:eq(a.n,
"Use X button to change charge on the X atom !")}}
function SF(a,b){var c,d,e,f,g;f=0;g=!1;for(a.b=v(G,r,-1,a.t+1,1);;){for(e=1;e<=a.t;++e)if(0==a.b[e]){a.b[e]=++f;g=!0;break}if(!g)break;for(;g;){g=!1;for(e=1;e<=a.u;++e)c=a.H[e],d=a.I[e],0<a.b[c]&&0==a.b[d]?(a.b[d]=f,g=!0):0<a.b[d]&&0==a.b[c]&&(a.b[c]=f,g=!0)}}if(2>f||!b)return f;g=v(G,r,-1,f+1,1);for(c=1;c<=a.t;++c)++g[a.b[c]];e=0;for(c=d=1;c<=f;++c)g[c]>e&&(e=g[c],d=c);for(c=a.t;1<=c;--c)a.b[c]!=d&&aD(a,c);zF(a);eq(a.n,"Smaller part(s) removed !");return 1}
function $C(a,b){var c,d,e,f,g;f=51;g=0;for(e=1;e<a.t;++e)b!=e&&(c=a.J[b]-a.J[e],d=a.M[b]-a.M[e],c=c*c+d*d,50>c&&c<f&&(f=c,g=e));return g}
function kD(a){var b,c,d;for(d=1;d<=a.u;++d){b=a.H[d];c=a.I[d];if(1==a.A[b]&&-1==a.A[c]||-1==a.A[b]&&1==a.A[c])if(1==a.s[d]||2==a.s[d]){if(3!=a.d[b]&&3!=a.d[c]&&a.n.pb)continue;if(1==a.d[b]||1==a.d[c])continue;if(2==a.d[b]||2==a.d[c])continue;if(9==a.d[b]||10==a.d[b]||11==a.d[b]||12==a.d[b]||9==a.d[c]||10==a.d[c]||11==a.d[c]||12==a.d[c])continue;a.A[b]=0;a.A[c]=0;++a.s[d];jD(a)}1==a.A[b]&&1==a.A[c]&&(2==a.s[d]?a.s[d]=1:3==a.s[d]&&(a.s[d]=2),jD(a));4==a.s[d]&&(a.s[d]=1)}}
function uG(a,b,c,d){var e,f;f=e=0;0<=a&&0<=b?e=1:0<=a&&0>b?e=2:0>a&&0>b?e=3:0>a&&0<=b&&(e=4);0<=c&&0<=d?f=1:0<=c&&0>d?f=2:0>c&&0>d?f=3:0>c&&0<=d&&(f=4);if(e<f)return 1;if(e>f)return-1;switch(e){case 1:case 4:return a<c?1:-1;case 2:case 3:return a>c?1:-1}return 0}function KB(a){var b;BG(a);b=a.s.length;a.K=v(G,r,-1,b,1);a.N=v(G,r,-1,b,1);iD(a);jD(a)}
function hG(a){var b,c;++a.t;a.t>a.d.length-1&&(c=a.d.length+10,b=v(G,r,-1,c,1),vC(a.d,b,a.d.length),a.d=b,b=v(G,r,-1,c,1),vC(a.A,b,a.A.length),a.A=b,b=v(G,r,-1,c,1),vC(a.x,b,a.x.length),a.x=b,b=v(G,r,-1,c,1),vC(a.c,b,a.c.length),a.c=b,b=v(tr,k,1,c,0),vC(a.e,b,a.e.length),a.e=b,b=v(tr,k,1,c,0),vC(a.o,b,a.o.length),a.o=b,b=v(dD,k,-1,c,1),vC(a.J,b,a.J.length),a.J=b,b=v(dD,k,-1,c,1),vC(a.M,b,a.M.length),a.M=b,b=ir([c,7]),vC(a.G,b,a.G.length),a.G=b,c=v(G,r,-1,c,1),vC(a.z,c,a.z.length),a.z=c);a.d[a.t]=
3;a.A[a.t]=0;a.c[a.t]=0;a.e[a.t]=null;a.x[a.t]=0}function MF(a,b,c,d,e,f){var g;g=K(I(mC(a.J[b]-c/2)));f||(g-=d-c);a=K(I(mC(a.M[b]-~~(e/2))));return new Zx(g-1-1,a-1,d+1+2,e+2)}
function gD(a){var b,c;++a.u;a.u>a.s.length-1&&(b=a.s.length+10,c=v(G,r,-1,b,1),vC(a.H,c,a.H.length),a.H=c,c=v(G,r,-1,b,1),vC(a.I,c,a.I.length),a.I=c,c=v(G,r,-1,b,1),vC(a.s,c,a.s.length),a.s=c,c=v(G,r,-1,b,1),vC(a.B,c,a.B.length),a.B=c,c=v(G,r,-1,b,1),vC(a.K,c,a.K.length),a.K=c,c=v(G,r,-1,b,1),vC(a.N,c,a.N.length),a.N=c,b=v(tr,k,1,b,0),vC(a.f,b,a.f.length),a.f=b);a.s[a.u]=1;a.B[a.u]=0;a.f[a.u]=null}
function aG(a,b){var c,d,e,f,g,h,i;if(0==a.t)return j;h=b;79<b.length&&(h=b.substr(0,76)+"...");h+=(rF(),aa);h+="JME 2013.01 "+new IC+"\n \n";h+=$F(a.t,3)+$F(a.u,3);h+="  0  0  0  0  0  0  0  0999 V2000\n";g=-1.7976931348623157E308;c=1.7976931348623157E308;for(e=1;e<=a.t;++e)a.M[e]>g&&(g=a.M[e]),a.J[e]<c&&(c=a.J[e]);for(e=1;e<=a.t;++e){h+=jG(0.055999999999999994*(a.J[e]-c),10,4)+jG(0.055999999999999994*(g-a.M[e]),10,4)+jG(0,10,4);i=LF(a,e);1==i.length?i+="  ":2==i.length?i+=ca:3<i.length&&(i="Q  ");
h+=ca+i;d=0;0<a.A[e]&&4>a.A[e]?d=4-a.A[e]:0>a.A[e]&&-4<a.A[e]&&(d=4-a.A[e]);i=" 0"+$F(d,3)+"  0  0  0  0  0  0  0";f=-1;for(d=1;d<=a.y;++d)if(a.q[d][0]==e){f=a.q[d][1];break}-1<f?i+=$F(f,3):i+="  0";h+=i+"  0  0\n"}for(e=1;e<=a.u;++e)g=a.s[e],1==a.s[e]?g=1:CG(a,e)&&(g=2),c=$F(a.H[e],3)+$F(a.I[e],3),d=0,1==a.s[e]&&1==a.B[e]?d=1:1==a.s[e]&&2==a.B[e]&&(d=6),1==a.s[e]&&3==a.B[e]&&(d=1,c=$F(a.I[e],3)+$F(a.H[e],3)),1==a.s[e]&&4==a.B[e]&&(d=6,c=$F(a.I[e],3)+$F(a.H[e],3)),h+=c+$F(g,3)+$F(d,3)+"  0  0  0\n";
for(e=1;e<=a.t;++e)0!=a.A[e]&&(h+="M  CHG  1"+$F(e,4)+$F(a.A[e],4)+aa);return h+"M  END\n"}
function kG(a){var b,c,d,e,f,g,h,i,l,m,n,o,q,w,F,z,J,N,S,da,M,gc,zc,Rf,mb,Jd,Kd,Ld,Ta,Ac;n=v(G,r,-1,a.t+10,1);o=v(G,r,-1,a.t+10,1);l=v(G,r,-1,a.t+1,1);m=v(G,r,-1,7,1);mb=v(G,r,-1,a.t+1,1);w=v(DG,k,-1,a.t+1,2);F=v(DG,k,-1,a.u+1,2);gc=0;if(0==a.t)return j;SF(a,!0);Rf=!0;for(i=1;i<=a.u;++i)if(9==a.s[i]){Rf=!1;break}if(a.n.r&&Rf){EG(a);kD(a);FG(a,F);GG(a,w,F);var zb,qd,Ze,Ub,te,rd,sd,ab,jH,Od,s,qa,Am,Bm,ls,gf,La,Cm,Dm,Ec,Em;zb=v(G,r,-1,a.t+1,1);qd=v(G,r,-1,a.t+1,1);ab=v(HG,k,-1,a.t+1,3);var ms=a.t,Fm,
nh,ns,gg,pj,Ae,hf;pj=v(HG,k,-1,ms+2,3);Ae=v(G,r,-1,100,1);hf=5;gg=0;Ae[0]=3;pj[1]=Xg;pj[2]=Yg;ns=2;if(!(3>ms))for(;hf<Ae[gg]*Ae[gg];){nh=0;for(Fm=!0;Fm&&nh<=gg&&hf>=Ae[nh]*Ae[nh];)0==hf%Ae[nh]?Fm=!1:++nh;if(Fm){pj[++ns]=Rr(hf);if(ns>=ms)break;gg<Ae.length-1&&(++gg,Ae[gg]=hf)}hf+=2}for(s=1;s<=a.t;++s){for(qa=Dm=1;qa<=a.u;++qa)(a.H[qa]==s||a.I[qa]==s)&&(Dm*=a.i[qa]);Cm=a.d[s];18==Cm&&(Em=a.o[s],rd=Em.charCodeAt(0)-65+1,sd=0,1<Em.length&&(sd=Em.charCodeAt(1)-97),0>rd&&(rd=0),0>sd&&(sd=0),Cm=28*rd+sd);
gf=0;-2>a.A[s]?gf=1:-2==a.A[s]?gf=2:-1==a.A[s]?gf=3:1==a.A[s]?gf=4:2==a.A[s]?gf=5:2<a.A[s]&&(gf=6);Ec=1;ab[s]=Rr(Dm);Ec*=126;ab[s]=Mr(ab[s],Rr(a.x[s]*Ec));Ec*=7;ab[s]=Mr(ab[s],Rr(gf*Ec));Ec*=7;ab[s]=Mr(ab[s],Rr(Cm*Ec));Ec*=783;ab[s]=Mr(ab[s],Rr(a.z[s]*Ec))}for(te=0;!zG(a,zb,ab);){ls=!1;for(s=1;s<=a.t;++s)zb[s]!=qd[s]&&(qd[s]=zb[s],ls=!0);if(ls){for(s=1;s<=a.t;++s){ab[s]=Wg;for(qa=1;qa<=a.z[s];++qa)ab[s]=Vr(ab[s],pj[zb[a.G[s][qa]]])}te=0}else if(0<te){for(s=1;s<=a.t;++s)ab[s]=Wg;s=1;a:for(;s<=a.t-
1;++s)for(qa=s+1;qa<=a.t;++qa)if(zb[s]==zb[qa]){ab[s]=Xg;break a}}else{for(s=1;s<=a.t;++s){ab[s]=Wg;for(qa=1;qa<=a.z[s];++qa)Ze=a.G[s][qa],ab[s]=Vr(ab[s],Rr(a.d[Ze]*a.i[vG(a,s,Ze)]))}te=1}zG(a,zb,ab);for(s=1;s<=a.t;++s)ab[s]=Rr(qd[s]*a.t+zb[s])}for(s=1;s<=a.t;++s)qd[s]=zb[s];for(La=1;La<=a.t;++La)for(s=1;s<=a.t;++s)if(qd[s]==La){a.d[0]=a.d[s];a.A[0]=a.A[s];a.J[0]=a.J[s];a.M[0]=a.M[s];a.z[0]=a.z[s];a.d[s]=a.d[La];a.A[s]=a.A[La];a.J[s]=a.J[La];a.M[s]=a.M[La];a.z[s]=a.z[La];a.d[La]=a.d[0];a.A[La]=a.A[0];
a.J[La]=a.J[0];a.M[La]=a.M[0];a.z[La]=a.z[0];qd[s]=qd[La];qd[La]=La;a.o[0]=a.o[s];a.o[s]=a.o[La];a.o[La]=a.o[0];a.c[0]=a.c[s];a.c[s]=a.c[La];a.c[La]=a.c[0];a.e[0]=a.e[s];a.e[s]=a.e[La];a.e[La]=a.e[0];a.x[0]=a.x[s];a.x[s]=a.x[La];a.x[La]=a.x[0];break}for(s=1;s<=a.y;++s)a.q[s][0]=zb[a.q[s][0]];for(s=1;s<=a.u;++s)a.H[s]=zb[a.H[s]],a.I[s]=zb[a.I[s]],a.H[s]>a.I[s]&&(Od=a.H[s],a.H[s]=a.I[s],a.I[s]=Od,1==a.B[s]?a.B[s]=3:2==a.B[s]?a.B[s]=4:3==a.B[s]?a.B[s]=1:4==a.B[s]&&(a.B[s]=2));for(s=1;s<a.u;++s){Bm=Am=
a.t;Ub=0;for(qa=s;qa<=a.u;++qa)a.H[qa]<Am?(Am=a.H[qa],Bm=a.I[qa],Ub=qa):a.H[qa]==Am&&a.I[qa]<Bm&&(Bm=a.I[qa],Ub=qa);Od=a.H[s];a.H[s]=a.H[Ub];a.H[Ub]=Od;Od=a.I[s];a.I[s]=a.I[Ub];a.I[Ub]=Od;Od=a.s[s];a.s[s]=a.s[Ub];a.s[Ub]=Od;Od=a.B[s];a.B[s]=a.B[Ub];a.B[Ub]=Od;jH=a.f[s];a.f[s]=a.f[Ub];a.f[Ub]=jH}KB(a);jD(a);FG(a,F);GG(a,w,F)}else{FG(a,F);a.i=v(G,r,-1,a.u+1,1);for(q=1;q<=a.u;++q)a.i[q]=a.s[q]}c=1;a.b=v(G,r,-1,a.t+1,1);Ac=1;a.b[1]=1;for(da=0;;){M=0;for(q=1;q<=a.z[c];++q)if(g=a.G[c][q],0<a.b[g]){if(!(a.b[g]>
a.b[c])&&g!=mb[c]){zc=!0;for(J=1;J<=gc;++J)if(n[J]==c&&o[J]==g||n[J]==g&&o[J]==c){zc=!1;break}zc&&(++gc,n[gc]=c,o[gc]=g)}}else m[++M]=g;if(0==M){if(Ac==a.t)break;c=l[da--]}else if(1==M)mb[m[1]]=c,c=m[1],a.b[c]=++Ac;else{l[++da]=c;e=0;for(q=1;q<=M;++q)if(i=vG(a,m[q],c),!F[i]){e=m[q];break}if(0==e)for(q=1;q<=M;++q)if(i=vG(a,m[q],c),2==a.i[i]||3==a.i[i]){e=m[q];break}0==e&&(e=m[1]);mb[e]=c;c=e;a.b[e]=++Ac}}mb=v(G,r,-1,a.t+1,1);b=v(G,r,-1,a.t+1,1);N=v(DG,k,-1,a.t+1,2);Jd=v(DG,k,-1,a.t+1,2);f=Ac=da=0;
for(q=1;q<=a.t;++q)if(1==a.b[q]){c=q;break}a:for(;;){0<f&&(mb[c]=f);b[++Ac]=c;for(a.b[c]=0;;){M=e=0;S=a.t+1;q=1;b:for(;q<=a.z[c];++q){g=a.G[c][q];for(z=1;z<=gc;++z)if(n[z]==g&&o[z]==c||n[z]==c&&o[z]==g)continue b;0<a.b[g]&&(++M,a.b[g]<S&&(e=g,S=a.b[g]))}if(0==e){if(0==da)break a;Jd[c]=!0;c=l[da--]}else break}f=c;c=e;1<M&&(l[++da]=f,N[e]=!0)}Kd=v(G,r,-1,a.u+1,1);Ld=v(G,r,-1,a.t+1,1);if(a.n.Ab){var lH=mb,CJ=gc,os,mH,oh,Be,ps,qs,Ka,qj,rs;oh=v(G,r,-1,a.t+1,1);for(Ka=1;Ka<=a.t;++Ka)oh[b[Ka]]=Ka;ps=v(DG,
k,-1,a.u+1,2);for(Ka=1;Ka<=a.t;++Ka)os=b[Ka],mH=lH[os],Be=vG(a,os,mH),0!=Be&&(IG(a,Be,oh,Kd,F),ps[Be]=!0);for(Ka=1;Ka<=a.u;++Ka)ps[Ka]||IG(a,Ka,oh,Kd,F);Ka=1;a:for(;Ka<=a.t;++Ka)if(!(2>a.z[Ka]||4<a.z[Ka])){qs=rs=0;for(qj=1;qj<=a.z[Ka];++qj){Be=vG(a,Ka,a.G[Ka][qj]);if(5==a.i[Be])continue a;1==a.s[Be]&&0!=JG(a,Be,Ka)&&++rs;2==a.s[Be]&&(qs=a.G[Ka][qj])}if(0!=rs)if(0<qs){var ea=a,oH=Ka,jf=oh,Sc=Ld,ic=void 0,rj=void 0,Fc=void 0,Ce=void 0,Gc=void 0,Gm=void 0,Hm=void 0,Im=void 0,Pd=void 0,Tc=void 0,Uc=void 0,
ss=void 0,sj=void 0,Qd=void 0,tj=void 0,De=void 0,uj=void 0,ts=void 0,vj=void 0,Ee=void 0,pH=void 0,kf=void 0,qH=void 0,us=void 0,wj=void 0,lf=void 0,Uc=1,rj=oH,ic=v(G,r,-1,ea.t+1,1);for(ic[1]=oH;;){ss=!1;for(Tc=1;Tc<=ea.z[rj];++Tc)if(Fc=ea.G[rj][Tc],!(Fc==ic[1]||Fc==ic[Uc-1]))if(Ce=vG(ea,rj,Fc),2==ea.s[Ce]&&5!=ea.i[Ce]){rj=ic[++Uc]=Fc;ss=!0;break}if(!ss)break}if(!(0==Uc%2||2>ea.z[ic[Uc]]||3<ea.z[ic[Uc]])){lf=ic[1];Gc=ic[~~((Uc+1)/2)];Pd=ic[Uc];kf=Ee=De=Qd=0;us=ts=!1;for(Tc=1;Tc<=ea.z[lf];++Tc)Fc=
ea.G[lf][Tc],Ce=vG(ea,lf,Fc),1!=ea.s[Ce]||5==ea.i[Ce]||(0==Qd?Qd=Fc:De=Fc);0<jf[De]&&jf[Qd]>jf[De]&&(Gm=Qd,Qd=De,De=Gm);sj=Qd;0==Qd&&(sj=De,ts=!0);for(Tc=1;Tc<=ea.z[Pd];++Tc)Fc=ea.G[Pd][Tc],Ce=vG(ea,Pd,Fc),1!=ea.s[Ce]||5==ea.i[Ce]||(0==Ee?Ee=Fc:kf=Fc);0<jf[kf]&&jf[Ee]>jf[kf]&&(Gm=Ee,Ee=kf,kf=Gm);vj=Ee;0==Ee&&(vj=kf,us=!0);tj=JG(ea,vG(ea,lf,Qd),lf);uj=JG(ea,vG(ea,lf,De),lf);pH=JG(ea,vG(ea,Pd,Ee),Pd);qH=JG(ea,vG(ea,Pd,kf),Pd);1<(0>tj+uj?-(tj+uj):tj+uj)||0!=pH||0!=qH?eq(ea.n,"Bad stereoinfo on allene !"):
(Hm=ea.J[ic[Uc-1]]-ea.J[Pd],Im=ea.M[ic[Uc-1]]-ea.M[Pd],wj=Math.sqrt(Hm*Hm+Im*Im),0.001>wj&&(wj=0.001),0<(ea.M[vj]-ea.M[ic[Uc-1]])*(Hm/wj)-(ea.J[vj]-ea.J[ic[Uc-1]])*(Im/wj)?Sc[Gc]=1:Sc[Gc]=-1,ts&&(Sc[Gc]*=-1),us&&(Sc[Gc]*=-1),sj==Qd&&0>tj&&(Sc[Gc]*=-1),sj==De&&0>uj&&(Sc[Gc]*=-1),jf[sj]>jf[vj]&&(Sc[Gc]*=-1))}}else b:{var jc=a,kc=Ka,DJ=lH,EJ=oh,FJ=n,GJ=o,HJ=CJ,Jm=Ld,Km=void 0,Vc=void 0,vs=void 0,ph=void 0,xa=void 0,qh=void 0,ud=void 0,xj=void 0,Rd=void 0,Hb=void 0,ba=void 0,Bb=void 0,Fe=void 0,Lm=void 0,
Wc=void 0,ja=void 0,Mm=void 0,Bb=v(G,r,-1,4,1),Lm=v(G,r,-1,4,1),rh=jc,Sd=kc,rH=EJ,ws=DJ,sH=FJ,tH=GJ,IJ=HJ,Cb=Bb,yj=void 0,Xc=void 0,Nm=void 0,Om=void 0,xs=void 0,zj=void 0,zj=-1;0<ws[Sd]&&(Cb[++zj]=ws[Sd]);for(Xc=1;Xc<=IJ;++Xc)sH[Xc]==Sd&&(Cb[++zj]=tH[Xc]),tH[Xc]==Sd&&(Cb[++zj]=sH[Xc]);for(Xc=zj+1;Xc<rh.z[Sd];++Xc){xs=rh.t+1;Nm=1;c:for(;Nm<=rh.z[Sd];++Nm){yj=rh.G[Sd][Nm];for(Om=0;Om<Xc;++Om)if(yj==Cb[Om])continue c;rH[yj]<xs&&(xs=rH[yj],Cb[Xc]=yj)}}0==ws[Sd]&&0<rh.x[Sd]?(Cb[3]=Cb[2],Cb[2]=Cb[1],Cb[1]=
Cb[0],Cb[0]=-1):0<rh.x[Sd]&&(Cb[3]=Cb[2],Cb[2]=Cb[1],Cb[1]=-1);for(xa=xj=qh=ph=Mm=ud=Hb=0;4>xa;++xa)0>=Bb[xa]||(Km=vG(jc,kc,Bb[xa]),Lm[xa]=JG(jc,Km,kc),0<Lm[xa]?(++Hb,Mm=Bb[xa],qh=Bb[xa]):0>Lm[xa]?(++ud,ph=Bb[xa],qh=Bb[xa]):xj=Bb[xa]);Rd=Hb+ud;ja=v(G,r,-1,4,1);Wc=0;if(3==jc.z[kc]){if(1==Hb&&1==ud||3==Rd&&0<Hb&&0<ud){eq(jc.n,"Error in C3H stereospecification !");break b}Fe=Bb[0];1==Rd?Fe=qh:2==Rd&&(Fe=xj);ba=tG(jc,kc,Fe,Bb);ja[0]=qh;ja[1]=-1;ja[2]=ba[2];ja[3]=ba[1];0<Hb?Wc=1:Wc=-1}else if(4==jc.z[kc])if(1==
Rd)ba=tG(jc,kc,qh,Bb),ja[0]=ba[0],ja[1]=ba[3],ja[2]=ba[2],ja[3]=ba[1],0<Hb?Wc=1:Wc=-1;else{Fe=Bb[0];1<xj&&(Fe=xj);1==Hb?Fe=Mm:1==ud&&(Fe=ph);ba=tG(jc,kc,Fe,Bb);Vc=v(G,r,-1,4,1);for(xa=0;4>xa;++xa)Km=vG(jc,kc,ba[xa]),Vc[xa]=JG(jc,Km,kc);if(4==Rd){if(0==Hb||0==ud){eq(jc.n,"Error in C4 stereospecification !");break b}if(1==Hb||1==ud)ja[0]=ba[0],ja[1]=ba[3],ja[2]=ba[2],ja[3]=ba[1],Wc=Vc[0];else{for(xa=0;4>xa;++xa)-1==Vc[xa]&&(Vc[xa]=0);Rd=2}}else if(3==Rd)if(3==Hb||3==ud)ja[0]=ba[0],ja[1]=ba[3],ja[2]=
ba[2],ja[3]=ba[1],0<Hb?Wc=-1:Wc=1;else{1==Hb?Hb=vs=1:ud=vs=-1;for(xa=0;4>xa;++xa)Vc[xa]==vs&&(Vc[xa]=0);Rd=2}if(2==Rd)if(1==Hb&&1==ud)ba[1]==ph?(ba[1]=ba[2],ba[2]=ba[3]):ba[2]==ph&&(ba[2]=ba[3]),ja[0]=Mm,ja[1]=ph,ja[2]=ba[2],ja[3]=ba[1],Wc=1;else{if(Vc[0]==Vc[1]||Vc[1]==Vc[2]){eq(jc.n,"Error in C4 stereospecification ! 2/0r");break b}0!=Vc[0]?(ja[0]=ba[0],ja[1]=ba[2],ja[2]=ba[1],ja[3]=ba[3]):(ja[0]=ba[1],ja[1]=ba[3],ja[2]=ba[2],ja[3]=ba[0]);1<Hb?Wc=1:Wc=-1}}var R=ja,Aj=Bb,eb=void 0;Aj[0]==R[1]?(eb=
R[0],R[0]=R[1],R[1]=eb,eb=R[2],R[2]=R[3],R[3]=eb):Aj[0]==R[2]?(eb=R[2],R[2]=R[0],R[0]=eb,eb=R[1],R[1]=R[3],R[3]=eb):Aj[0]==R[3]&&(eb=R[3],R[3]=R[0],R[0]=eb,eb=R[1],R[1]=R[2],R[2]=eb);Aj[1]==R[2]?(eb=R[1],R[1]=R[2],R[2]=eb,eb=R[2],R[2]=R[3],R[3]=eb):Aj[1]==R[3]&&(eb=R[1],R[1]=R[3],R[3]=eb,eb=R[2],R[2]=R[3],R[3]=eb);ja[2]==Bb[2]?Jm[kc]=1:ja[2]==Bb[3]?Jm[kc]=-1:eq(jc.n,"Error in stereoprocessing ! - t30");Jm[kc]*=Wc}}}Ta=new uC;h=v(G,r,-1,a.t+1,1);for(q=1;q<=a.t;++q)h[b[q]]=q;for(q=1;q<=a.t;++q){c=b[q];
N[c]&&(Ta.b.b+=za);0<mb[q]&&KG(a,c,mb[c],Ta,Kd);var sh=w[c],Db=void 0,Bj=void 0,th=void 0,O=void 0,O=$c,Db=!1;0!=a.A[c]&&(Db=!0);0!=Ld[c]&&(Db=!0);th=-1;for(Bj=1;Bj<=a.y;++Bj)if(a.q[Bj][0]==c){th=a.q[Bj][1];break}-1<th&&(Db=!0);a.n.zb&&0<a.c[c]&&(Db=!0,th=1);switch(a.d[c]){case 2:O=Jb;break;case 3:sh?O="c":O=Mb;break;case 4:sh?(O=yf,0<a.x[c]&&(Db=!0)):O=pc;break;case 5:sh?O="o":O=wc;break;case 7:sh?(O="p",0<a.x[c]&&(Db=!0)):O=yc;break;case 8:sh?O=fg:O=Nc;break;case 13:sh?O=ig:O=Pc;Db=!0;break;case 6:O=
Qc;Db=!0;break;case 9:O=Yb;break;case 10:O=Qb;break;case 11:O=Lb;break;case 12:O=ec;break;case 1:O=bc;Db=!0;break;case 19:O=Bc;Db=!0;break;case 20:O=Cc;Db=!0;break;case 21:O=Dc;Db=!0;break;case 22:O=Hc;Db=!0;break;case 18:Db=!0,O=a.o[c],(C(O,Ba)||C(O,ed)||C(O,Eb))&&(Db=!1)}Db&&(O=ad+O,1==Ld[c]?O+=Ab:-1==Ld[c]&&(O+="@@"),1==a.x[c]?O+=bc:1<a.x[c]&&(O+=bc+a.x[c]),0!=a.A[c]&&(0<a.A[c]?O+=Ca:O+=Fa,1<dj(a.A[c])&&(O+=dj(a.A[c]))),-1<th&&(O+=rb+th),O+=cd);Sm(Ta.b,O);for(z=1;z<=gc;++z)if(n[z]==c||o[z]==c)d=
o[z],d==c&&(d=n[z]),h[c]<h[d]&&KG(a,n[z],o[z],Ta,Kd),9<z&&(Ta.b.b+="%"),Rm(Ta,j+(new U(z)).b);Jd[c]&&(Ta.b.b+=Aa)}return Ta.b.b}
function aD(a,b){var c,d,e,f;f=0;for(e=1;e<=a.u;++e)c=a.H[e],d=a.I[e],c!=b&&d!=b&&(++f,a.H[f]=c,c>b&&--a.H[f],a.I[f]=d,d>b&&--a.I[f],a.s[f]=a.s[e],a.B[f]=a.B[e],a.K[f]=a.K[e],a.N[f]=a.N[e],a.f[f]=a.f[e]);a.u=f;for(e=b;e<a.t;++e){a.d[e]=a.d[e+1];a.A[e]=a.A[e+1];a.J[e]=a.J[e+1];a.M[e]=a.M[e+1];a.x[e]=a.x[e+1];a.c[e]=a.c[e+1];a.e[e]=a.e[e+1];a.z[e]=a.z[e+1];a.o[e]=a.o[e+1];for(f=1;f<=a.z[e];++f)a.G[e][f]=a.G[e+1][f]}--a.t;if(0==a.t)AF(a.n);else{for(e=1;e<=a.t;++e){d=0;for(f=1;f<=a.z[e];++f)c=a.G[e][f],
c==b?++a.x[e]:(c>b&&--c,a.G[e][++d]=c);a.z[e]=d}e=1;a:for(;e<=a.y;++e)if(a.q[e][0]==b){for(f=e;f<a.y;++f)a.q[f][0]=a.q[f+1][0],a.q[f][1]=a.q[f+1][1];--a.y;break a}for(e=1;e<=a.y;++e)a.q[e][0]>b&&--a.q[e][0]}}
function bD(a,b){var c,d,e,f;c=a.H[b];d=a.I[b];for(e=b;e<a.u;++e)a.H[e]=a.H[e+1],a.I[e]=a.I[e+1],a.s[e]=a.s[e+1],a.B[e]=a.B[e+1],a.K[e]=a.K[e+1],a.N[e]=a.N[e+1],a.f[e]=a.f[e+1];--a.u;f=0;for(e=1;e<=a.z[c];++e)a.G[c][e]!=d&&(a.G[c][++f]=a.G[c][e]);a.z[c]=f;f=0;for(e=1;e<=a.z[d];++e)a.G[d][e]!=c&&(a.G[d][++f]=a.G[d][e]);a.z[d]=f;c<d&&(f=c,c=d,d=f);0==a.z[c]&&aD(a,c);0==a.z[d]&&aD(a,d)}
function EG(a){var b,c,d;if(!a.n.M){c=a.t;a:for(;1<=c;--c)if(d=a.G[c][1],1==a.d[c]&&1==a.z[c]&&0==a.A[c]&&1!=a.d[d]&&18>a.d[d]){for(b=1;b<=a.y;++b)if(a.q[b][0]==c)continue a;b=vG(a,c,d);1==a.s[b]&&(0==a.B[b]||!a.n.Ab)&&aD(a,c)}}}function BG(a){var b;b=a.d.length;a.G=ir([b,7]);a.z=v(G,r,-1,b,1);for(b=1;b<=a.t;++b)a.z[b]=0;for(b=1;b<=a.u;++b)6>a.z[a.H[b]]&&(a.G[a.H[b]][++a.z[a.H[b]]]=a.I[b]),6>a.z[a.I[b]]&&(a.G[a.I[b]][++a.z[a.I[b]]]=a.H[b])}
function GG(a,b,c){var d,e,f,g,h,i,l,m,n;a.i=v(G,r,-1,a.u+1,1);n=v(DG,k,-1,a.t+1,2);for(i=1;i<=a.t;++i){n[i]=!1;b[i]=!1;a:{d=void 0;for(d=1;d<=a.z[i];++d)if(c[vG(a,i,a.G[i][d])]){d=!0;break a}d=!1}if(d&&!(3<a.z[i]+a.x[i]))switch(a.d[i]){case 3:case 4:case 7:case 5:case 8:case 13:n[i]=!0;break;case 18:n[i]=!0}}for(h=1;h<=a.u;++h)1==a.s[h]?a.i[h]=1:CG(a,h)?a.i[h]=2:3==a.s[h]&&(a.i[h]=3);h=1;a:for(;h<=a.u;++h)if(c[h]&&(f=a.H[h],g=a.I[h],n[f]&&n[g])){d=v(DG,k,-1,a.t+1,2);for(i=1;i<=a.z[f];++i)e=a.G[f][i],
e!=g&&n[e]&&(d[e]=!0);for(m=!1;;){for(i=1;i<=a.t;++i){m=!1;if(d[i]&&n[i]&&i!=f)for(l=1;l<=a.z[i];++l){e=a.G[i][l];if(e==g){b[f]=!0;b[g]=!0;a.i[h]=5;continue a}!d[e]&&n[e]&&(m=d[e]=!0)}if(m)break}if(!m)break}}}function iD(a){var b,c,d;for(d=1;d<=a.u;++d)b=a.H[d],c=a.I[d],a.K[d]=K(I(mC((a.J[b]+a.J[c])/2))),a.N[d]=K(I(mC((a.M[b]+a.M[c])/2)))}function FG(a,b){var c;for(c=1;c<=a.u;++c)NF(a,a.H[c],a.I[c])?b[c]=!1:b[c]=!0}function LF(a,b){var c;c=(rF(),vB)[a.d[b]];18==a.d[b]&&(c=a.o[b]);return c}
function CG(a,b){return 2==a.s[b]?!0:!1}function NF(a,b,c){var d,e,f,g;g=1;a.b=v(G,r,-1,a.t+1,1);for(d=1;d<=a.t;++d)a.b[d]=0;for(d=a.b[b]=1;d<=a.z[b];++d)a.G[b][d]!=c&&(a.b[a.G[b][d]]=++g);for(f=!1;;){for(d=1;d<=a.t;++d){f=!1;if(0<a.b[d]&&d!=b)for(e=1;e<=a.z[d];++e)0==a.b[a.G[d][e]]&&(a.b[a.G[d][e]]=++g,f=!0);if(f)break}if(!f)break}return 0==a.b[c]}
function fG(a){var b,c;a.n.P=!0;if(a.n.zb)a.k=-1,0==a.c[a.D]?a.c[a.D]=4:a.c[a.D]=0;else{for(b=1;b<=a.y;++b)if(a.D==a.q[b][0]){if(-1==a.n.w){for(;b<a.y;++b)a.q[b][0]=a.q[b+1][0],a.q[b][1]=a.q[b+1][1];--a.y}else c=a.n.w,a.n.q&&(a.n.db||++a.r,c=a.r),a.q[b][1]=c;return}b=a.q.length;++a.y>b-1&&(b=ir([b+5,2]),vC(a.q,b,a.q.length),a.q=b);a.q[a.y][0]=a.D;c=a.n.w;a.n.q&&(a.n.db||++a.r,c=a.r);a.q[a.y][1]=c}}function tB(a){var b;a.y=0;a.r=0;kG(a);for(b=1;b<=a.t;++b)a.D=b,fG(a);a.D=0}
function YF(a){var b,c;b=v(dD,k,-1,4,1);eD(a,b);c=a.n.A.c;a.n.x||(c-=a.n.X);return b[0]<~~(c/2)-24?1:b[0]>~~(c/2)+24?3:2}function iG(a){var b,c,d,e,f;e=f=0;for(d=1;d<=a.u;++d)b=a.J[a.H[d]]-a.J[a.I[d]],c=a.M[a.H[d]]-a.M[a.I[d]],f+=Math.sqrt(b*b+c*c);0<a.u?(f/=a.u,e=25/f):1<a.t&&(e=75/Math.sqrt((a.J[1]-a.J[2])*(a.J[1]-a.J[2])+(a.M[1]-a.M[2])*(a.M[1]-a.M[2])));for(d=1;d<=a.t;++d)a.J[d]*=e,a.M[d]*=e}
function ZF(a,b,c){var d,e,f,g,h;if(0==c.indexOf(ad)&&nC(c,cd))c=c.substr(1,c.length-1-1),a.d[b]=18,a.o[b]=c,a.x[b]=0;else{f=!1;-1<c.indexOf(Da)&&(f=!0);-1<c.indexOf(tb)&&(f=!0);-1<c.indexOf(pa)&&(f=!0);-1<c.indexOf("!")&&(f=!0);d=c.indexOf(rb);e=c.indexOf(bc);g=cj(c.indexOf(Ca),c.indexOf(Fa));if(-1<d){h=Pt(c,d+1);try{a.n.w=OA(h,10)}catch(i){if(i=ii(i),y(i,113))a.n.w=0;else throw i;}a.D=b;fG(a);c=c.substr(0,d-0);a.D=0}if(f)a.o[b]=c,a.d[b]=18,a.x[b]=0;else{d=c;0<e?d=c.substr(0,e-0):0<g&&(d=c.substr(0,
g-0));a.d[b]=C(d,Mb)?3:C(d,Jb)?2:C(d,pc)?4:C(d,wc)?5:C(d,yc)?7:C(d,Nc)?8:C(d,Yb)?9:C(d,Qb)?10:C(d,Lb)?11:C(d,ec)?12:C(d,bc)?1:C(d,Pc)?13:C(d,Qc)?6:C(d,Bc)?19:C(d,Cc)?20:C(d,Dc)?21:C(d,Hc)?22:18;18==a.d[b]&&(a.o[b]=d);c+=ca;d=0;0<e&&(d=1,e=WB(c,++e),48<=e&&57>=e&&(d=e-48));18==a.d[b]&&(a.x[b]=d);d=0;if(0<g&&(e=WB(c,g++),43==e?d=1:45==e&&(d=-1),0!=d&&(e=WB(c,g++),!(48<=e&&57>=e)))){for(;43==e;)++d,e=WB(c,g++);for(;45==e;)--d,e=WB(c,g++)}a.A[b]=d}}}
function yB(a,b,c){var d,e;a.k=1;c&&(a.k=-1);b=new hB(b);try{for(;b.k=aB(b,b.b),b.k<b.j;)d=iC(OA(dB(b),10)).b,c=e=iC(OA(dB(b),10)).b,(0>c||6<c)&&(c=0),a.c[d]=c}catch(f){if(f=ii(f),y(f,113))Pm(f);else throw f;}}function KG(a,b,c,d,e){b=vG(a,b,c);5!=a.i[b]&&CG(a,b)?d.b.b+=wb:3==a.s[b]?d.b.b+=pa:9==a.s[b]?(e=yb,a=a.f[b],null!=a&&(e=a),Sm(d.b,e)):1==e[b]?d.b.b+=cb:-1==e[b]&&(d.b.b+=bd)}
function gG(a,b){var c,d;if(1==a.s[b])if(c=a.H[b],d=a.I[b],2>a.z[c]&&2>a.z[d])a.B[b]=0,eq(a.n,"Stereomarking meaningless on this bond !");else switch(a.B[b]){case 0:a.z[d]<=a.z[c]?a.B[b]=1:a.B[b]=3;break;case 1:a.B[b]=2;break;case 2:2<a.z[d]?a.B[b]=3:a.B[b]=1;break;case 3:a.B[b]=4;break;case 4:2<a.z[c]?a.B[b]=1:a.B[b]=3}else 2==a.s[b]?10==a.B[b]?a.B[b]=0:a.B[b]=10:eq(a.n,"Stereomarking allowed only on single and double bonds!")}
function IG(a,b,c,d,e){var f,g,h,i,l,m,n,o,q;if(!(2!=a.s[b]||5==a.i[b])&&(10==a.B[b]||a.n.p&&!e[b]))if(e=a.H[b],f=a.I[b],!(2>a.z[e]||2>a.z[f]||3<a.z[e]||3<a.z[f])){c[e]>c[f]&&(g=e,e=f,f=g);n=m=b=0;o=!1;for(l=1;l<=a.z[e];++l)g=a.G[e][l],g!=f&&(0==m?m=g:n=g);0<n&&c[m]>c[n]&&(g=m,m=n,n=g);i=vG(a,e,m);0!=d[i]?b=m:1==a.s[i]&&5!=a.i[i]&&(b=m);0==b&&(i=vG(a,e,n),0!=d[i]?b=n:1==a.s[i]&&5!=a.i[i]&&(b=n));c[b]>c[e]&&(o=!0);h=n=m=0;for(l=1;l<=a.z[f];++l)g=a.G[f][l],g!=e&&(0==n?n=g:h=g);0<h&&c[n]<c[h]&&(g=n,
n=h,h=g);i=vG(a,f,n);1==a.s[i]&&5!=a.i[i]&&0==d[i]&&(m=n);0==m&&(i=vG(a,f,h),1==a.s[i]&&5!=a.i[i]&&(m=h));if(!(0==b||0==m))if(i=a.J[f]-a.J[e],g=a.M[f]-a.M[e],l=Math.sqrt(i*i+g*g),0.001>l&&(l=0.001),g/=l,i/=l,n=(a.M[b]-a.M[e])*i-(a.J[b]-a.J[e])*g,q=(a.M[m]-a.M[e])*i-(a.J[m]-a.J[e])*g,2>(0>=n?0-n:n)||2>(0>=q?0-q:q))eq(a.n,"Not unique E/Z geometry !");else{h=vG(a,b,e);f=vG(a,m,f);m=1;if(0==d[h]){for(l=1;l<=a.z[b];++l)if(g=a.G[b][l],g!=e&&(i=vG(a,b,g),0!=d[i])){c[g]>c[b]?m=-d[i]:m=d[i];break}d[h]=m}0==
d[f]&&(0<n&&0<q||0>n&&0>q?d[f]=-d[h]:d[f]=d[h],o&&(d[f]=-d[f]))}}}function AG(a,b){var c,d,e;e=0;for(d=1;d<=a.z[b];++d)if(c=vG(a,b,a.G[b][d]),1==a.s[c])e+=1;else if(CG(a,c))e+=2;else if(3==a.s[c])e+=3;else if(9==a.s[c])return-1;return e}function JG(a,b,c){var d;d=a.B[b];return 1>d||4<d?0:1==d&&a.H[b]==c?1:2==d&&a.H[b]==c?-1:3==d&&a.I[b]==c?1:4==d&&a.I[b]==c?-1:0}
function jD(a){var b;for(b=1;b<=a.t;++b){var c=a,d=b,e=void 0,e=AG(c,d);if(-1==e)c.x[d]=0;else{switch(c.d[d]){case 1:2==e?c.A[d]=1:c.A[d]=0;c.x[d]=0;break;case 2:3==e||5==e?(c.x[d]=0,c.A[d]=0):3>e?c.x[d]=3-e-c.A[d]:4==e?(c.A[d]=-1,c.x[d]=0):5<e&&(c.A[d]=e-5,c.x[d]=0);break;case 3:case 6:4>e?0<c.A[d]?c.x[d]=2-e+c.A[d]:0>c.A[d]?c.x[d]=2-e-c.A[d]:c.x[d]=4-e:(c.A[d]=e-4,c.x[d]=4-e+c.A[d]);break;case 4:case 7:3>e?c.x[d]=3-e+c.A[d]:3==e?0>c.A[d]?(c.A[d]=0,c.x[d]=0):0<c.A[d]?c.x[d]=c.A[d]:c.x[d]=0:(c.A[d]=
4==e?1:6==e?-1:e-5,c.x[d]=0);break;case 5:2==e&&(0>c.A[d]?(c.A[d]=0,c.x[d]=0):0<c.A[d]?c.x[d]=c.A[d]:c.x[d]=0);2<e&&(c.A[d]=e-2);c.x[d]=2-e+c.A[d];break;case 8:case 13:2>e?c.x[d]=2-e+c.A[d]:2==e?0>c.A[d]?(c.A[d]=0,c.x[d]=0):0<c.A[d]?c.x[d]=c.A[d]:c.x[d]=0:3==e?2==c.z[d]?(c.A[d]=0,c.x[d]=1):(c.A[d]=1,c.x[d]=0):4==e?(c.A[d]=0,c.x[d]=0):5==e?(c.A[d]=0,c.x[d]=1):(c.A[d]=e-6,c.x[d]=0);break;case 9:case 10:case 11:case 12:1<=e&&(c.A[d]=e-1);c.x[d]=1-e+c.A[d];2<e&&(c.A[d]=0,c.x[d]=0);break;case 19:case 18:c.x[d]=
0}0>c.x[d]&&(c.x[d]=0)}}}function BF(a){sG(this);this.n=a;this.y=this.u=this.t=0}
function RF(a,b){var c,d,e,f,g,h,i;BF.call(this,a);f=j;h=PF(b);if(null!=h){i=new gB(b,h,!0);for(e=1;4>=e;++e)f=QF(i,h);g=iC(OA(yn(f.substr(0,3)),10)).b;c=iC(OA(yn(f.substr(3,3)),10)).b;for(e=1;e<=g;++e)hG(this),f=QF(i,h),this.J[e]=(new hC(eC(yn(f.substr(0,10))))).b,this.M[e]=-(new hC(eC(yn(f.substr(10,10))))).b,d=34,34>f.length&&(d=f.length),d=yn(f.substr(31,d-31)),ZF(this,e,d),62<=f.length&&(f=yn(f.substr(60,3)),0<f.length&&(f=iC(OA(f,10)).b,0<f&&(this.D=e,a.w=f,fG(this),this.D=0)));for(e=1;e<=c;++e)gD(this),
f=QF(i,h),this.H[e]=iC(OA(yn(f.substr(0,3)),10)).b,this.I[e]=iC(OA(yn(f.substr(3,3)),10)).b,g=iC(OA(yn(f.substr(6,3)),10)).b,1==g?this.s[e]=1:2==g?this.s[e]=2:3==g?this.s[e]=3:this.s[e]=9,d=0,11<f.length&&(d=iC(OA(yn(f.substr(9,3)),10)).b),1==g&&1==d&&(this.s[e]=1,this.B[e]=1),1==g&&6==d&&(this.s[e]=1,this.B[e]=2);BG(this);iG(this);zF(this);for(KB(this);(i.k=aB(i,i.b),i.k<i.j)&&!(null==(f=dB(i)));){if(0==f.indexOf("M  END"))break;if(0==f.indexOf("M  CHG")){g=new fB(f);dB(g);dB(g);h=iC(OA(dB(g),10)).b;
for(e=1;e<=h;++e)c=iC(OA(dB(g),10)).b,this.A[c]=iC(OA(dB(g),10)).b}if(0==f.indexOf("M  APO")){g=new fB(f);dB(g);dB(g);h=iC(OA(dB(g),10)).b;for(e=1;e<=h;++e)c=iC(OA(dB(g),10)).b,f=iC(OA(dB(g),10)).b,this.D=c,Y(this,0),ZF(this,this.t,Bc+f),this.D=0}}EG(this);KB(this)}}
function JB(a,b){var c,d,e,f,g;BF.call(this,a);0==b.indexOf(fa)&&(b=b.substr(1,b.length-1));nC(b,fa)&&(b=b.substr(0,b.length-1-0));if(1>b.length)this.t=0;else{try{f=new fB(b);d=iC(OA(dB(f),10)).b;e=iC(OA(dB(f),10)).b;for(c=1;c<=d;++c)g=dB(f),hG(this),ZF(this,this.t,g),this.J[c]=(new hC(eC(dB(f)))).b,this.M[c]=-(new hC(eC(dB(f)))).b;for(c=1;c<=e;++c)if(gD(this),this.H[c]=iC(OA(dB(f),10)).b,this.I[c]=iC(OA(dB(f),10)).b,this.s[c]=iC(OA(dB(f),10)).b,-1==this.s[c])this.s[c]=1,this.B[c]=1;else if(-2==this.s[c])this.s[c]=
1,this.B[c]=2;else if(-5==this.s[c])this.s[c]=2,this.B[c]=10;else if(11==this.s[c]||12==this.s[c]||13==this.s[c]||14==this.s[c])this.B[c]=this.s[c],this.s[c]=9;BG(this);iG(this);zF(this)}catch(h){h=ii(h);if(y(h,113)){h.sc();this.t=0;return}throw h;}EG(this);KB(this)}}
function TF(a,b,c){var d,e,f;BF.call(this,a);f=v(G,r,-1,b.t+1,1);for(a=1;a<=b.t;++a)b.b[a]==c&&(hG(this),this.d[this.t]=b.d[a],this.J[this.t]=b.J[a],this.M[this.t]=b.M[a],this.A[this.t]=b.A[a],this.x[this.t]=b.x[a],this.c[this.t]=b.c[a],this.e[this.t]=b.e[a],this.o[this.t]=b.o[a],f[a]=this.t);for(a=1;a<=b.u;++a)if(d=b.H[a],e=b.I[a],!(b.b[d]!=c&&b.b[e]!=c)&&!(b.b[d]!=c||b.b[e]!=c))gD(this),this.s[this.u]=b.s[a],this.B[this.u]=b.B[a],this.H[this.u]=f[d],this.I[this.u]=f[e],this.f[this.u]=b.f[a];for(a=
1;a<=b.y;++a)d=b.q[a][0],d==c&&(++this.y,this.q[this.y][0]=f[d],this.q[this.y][1]=b.q[a][1]);this.k=b.k;KB(this);zF(this)}
function bG(a,b,c){var d,e,f,g,h;BF.call(this,a);for(a=1;a<=c;++a)this.t+=b[a].t,this.u+=b[a].u,this.y+=b[a].y;this.d=v(G,r,-1,this.t+1,1);this.A=v(G,r,-1,this.t+1,1);this.x=v(G,r,-1,this.t+1,1);this.c=v(G,r,-1,this.t+1,1);this.e=v(tr,k,1,this.t+1,0);this.J=v(dD,k,-1,this.t+1,1);this.M=v(dD,k,-1,this.t+1,1);this.o=v(tr,k,1,this.t+1,0);this.H=v(G,r,-1,this.u+1,1);this.I=v(G,r,-1,this.u+1,1);this.s=v(G,r,-1,this.u+1,1);this.f=v(tr,k,1,this.u+1,0);this.B=v(G,r,-1,this.u+1,1);this.q=ir([this.y+1,2]);
f=h=g=e=0;for(a=1;a<=c;++a){for(d=1;d<=b[a].t;++d)++e,this.d[e]=b[a].d[d],this.J[e]=b[a].J[d],this.M[e]=b[a].M[d],this.A[e]=b[a].A[d],this.x[e]=b[a].x[d],this.c[e]=b[a].c[d],this.e[e]=b[a].e[d],this.o[e]=b[a].o[d];for(d=1;d<=b[a].u;++d)++g,this.s[g]=b[a].s[d],this.B[g]=b[a].B[d],this.H[g]=b[a].H[d]+f,this.I[g]=b[a].I[d]+f,this.f[g]=b[a].f[d];for(d=1;d<=b[a].y;++d)++h,this.q[h][0]=b[a].q[d][0]+f,this.q[h][1]=b[a].q[d][1];f=e}KB(this);zF(this)}
function xF(a){var b;sG(this);this.n=a.n;this.t=a.t;this.u=a.u;this.y=a.y;this.d=v(G,r,-1,this.t+1,1);vC(a.d,this.d,this.t+1);this.A=v(G,r,-1,this.t+1,1);vC(a.A,this.A,this.t+1);this.x=v(G,r,-1,this.t+1,1);vC(a.x,this.x,this.t+1);this.c=v(G,r,-1,this.t+1,1);vC(a.c,this.c,this.t+1);this.e=v(tr,k,1,this.t+1,0);vC(a.e,this.e,this.t+1);this.J=v(dD,k,-1,this.t+1,1);vC(a.J,this.J,this.t+1);this.M=v(dD,k,-1,this.t+1,1);vC(a.M,this.M,this.t+1);this.o=v(tr,k,1,this.t+1,0);vC(a.o,this.o,this.t+1);this.H=v(G,
r,-1,this.u+1,1);vC(a.H,this.H,this.u+1);this.I=v(G,r,-1,this.u+1,1);vC(a.I,this.I,this.u+1);this.s=v(G,r,-1,this.u+1,1);vC(a.s,this.s,this.u+1);this.f=v(tr,k,1,this.u+1,0);vC(a.f,this.f,this.u+1);this.B=v(G,r,-1,this.u+1,1);vC(a.B,this.B,this.u+1);this.q=ir([this.y+1,2]);for(b=1;b<=this.y;++b)this.q[b][0]=a.q[b][0],this.q[b][1]=a.q[b][1];this.k=a.k}
function jG(a,b,c){var d,e,f;if(0==c)return $F(H(a),b);9.0E-4>(0>=a?0-a:a)&&(a=0);a=K(I(mC(a*Math.pow(10,c))))/Math.pow(10,c);e=j+(new hC(a)).b;d=zn(e,An(46));0>d&&(e+=bb,d=zn(e,An(46)));f=e.length;for(a=1;a<=c-f+d+1;++a)e+=gb;if(0==b)return e;e.length>b&&(e=yb);c=j;for(a=1;a<=b-e.length;++a)c+=ca;return c+e}function PF(a){var b;b=new gB(a,aa,!0);if(4<$A(b))return aa;b=new gB(a,Ug,!0);return 4<$A(b)?Ug:null}
function $F(a,b){var c,d,e;d=j+(new U(a)).b;d.length>b&&(d=yb);e=j;for(c=1;c<=b-d.length;++c)e+=ca;return e+d}function QF(a,b){for(var c,d;a.k=aB(a,a.b),a.k<a.j;){d=dB(a);if(C(d,b))return ca;for(dB(a);;)if(c=d.charCodeAt(d.length-1),124==c||10==c||13==c){if(d=d.substr(0,d.length-1-0),0==d.length)return ca}else break;return d}return null}t(542,1,{128:1},BF,RF,JB,TF,bG,xF);_.b=null;_.i=null;_.k=0;_.n=null;_.p=!1;_.r=0;_.t=0;_.u=0;_.v=0;_.w=!1;_.y=0;_.C=!1;_.D=0;_.E=0;_.F=0;_.L=0;_.O=0;
function fq(){fq=u;gq=new iA(bc)}
function WF(a,b){var c;fq();var d;nF.call(this);this.b=new My("help");this.c=b;P(this,(rF(),DB));this.Tb&&Ez(this.Tb.d,!1);Bz(this,!1);d=wx(b);if(1==a)LG||(LG=new Xz(d),yx(LG,-80,-100)),this.i=LG,c=GB(b),this.Tb&&Dz(this.Tb.d.I.c,Oc),cy(this,new Hy(2)),this.d=new iA(c+"     "),Q(this,this.d,Pb),d=new gy,Q(d,this.f,null),this.c.ub&&(c=new My("Submit"),Q(d,c,null)),Q(this,d,Rc),hA(this.d,yn(Gn(this.d.Tb.b.pb,Mg))),this.Tb&&Ez(this.Tb.d,!0),Bz(this,!0);else if(2==a)MG||(MG=new Xz(d),yx(MG,-120,13*b.X-
80)),this.i=MG,this.Tb&&Dz(this.Tb.d.I.c,"nonstandard atom"),cy(this,new Hy(2)),c=new gy,Q(c,new Qz("atomic SMILES",1),null),Q(this,c,uc),c=bc,gq&&(c=Gn(gq.Tb.b.pb,Mg)),gq=new jA(c,8),Q(this,gq,Pb),c=new gy,Q(c,this.f,null),Q(this,c,Rc);else{NG||(NG=new Xz(d),yx(NG,12*b.X+10,-20));var e,f;d="about "+(rF(),nB);this.Tb&&Dz(this.Tb.d.I.c,d);cy(this,new Mz(0));P(this,DB);Q(this,new Qz(nB+" Molecular Editor v2013.01",1),null);Q(this,new Qz("Peter Ertl and Bruno Bienfait",1),null);for(c=sF,e=0,f=c.length;e<
f;++e)d=c[e],Q(this,new Qz(d,1),null);c=new gy;Q(c,this.b,null);Q(c,this.f,null);Q(this,c,null);this.i=NG}Az(this);c=this.i;nE(this.Tb.d,c.b,c.c);!vx(this)&&$x(this);Kx(this)}t(543,534,Qh,WF);_.lf=function(a){var b,c;if(a.i==this.b){try{b=new IA(this.c.G),c=HA(b),$wnd.open(c,"_top ",j)}catch(d){if(d=ii(d),y(d,105))b=d,AA(),a=this.c,b=b.i,a.gb=!0,a.I="ERROR - "+b;else throw d;}return!0}return!1};_.c=null;var NG=_.d=null,gq,MG=null,LG=null;function OG(a,b){ux(b)==a.b?P(b,(Sy(),$y)):P(b,a.b)}
function PG(a){var b,c,d,e;e=j;d=!1;ux(QG)!=a.b?(e=Ba,d=!0):ux(RG)!=a.b?(e="!#6",d=!0):ux(SG)!=a.b?(P(TG,(Sy(),$y)),P(UG,$y),P(VG,$y),P(WG,$y),e="F,Cl,Br,I"):(b=ux(XG)!=a.b,c=ux(YG)!=a.b,ux(ZG)!=a.b&&(b?e+="c,":c?e+="C,":e+="#6,"),ux($G)!=a.b&&(b?e+="n,":c?e+="N,":e+="#7,"),ux(aH)!=a.b&&(b?e+="o,":c?e+="O,":e+="#8,"),ux(bH)!=a.b&&(b?e+="s,":c?e+="S,":e+="#16,"),ux(cH)!=a.b&&(b?e+="p,":c?e+="P,":e+="#15,"),ux(TG)!=a.b&&(e+="F,"),ux(UG)!=a.b&&(e+="Cl,"),ux(VG)!=a.b&&(e+="Br,"),ux(WG)!=a.b&&(e+="I,"),
nC(e,Da)&&(e=e.substr(0,e.length-1-0)),1>e.length&&!a.c&&(b?e=ed:c?e=Eb:(P(QG,(Sy(),$y)),e=Ba)));b=j;d&&ux(XG)!=a.b&&(b+=";a");d&&ux(YG)!=a.b&&(b+=";A");ux(dH)!=a.b&&(b+=";R");ux(eH)!=a.b&&(b+=";!R");ux(QG)!=a.b&&0<b.length?e=b.substr(1,b.length-1):e+=b;d=fH.Tb.b.pb.selectedIndex;0<d&&(--d,e+=";H"+d);d=gH.Tb.b.pb.selectedIndex;0<d&&(--d,e+=";D"+d);ux(hH)!=a.b&&(e="~");ux(iH)!=a.b&&(e=rb);ux(kH)!=a.b&&(e=Ab);ux(nH)!=a.b&&(e="!@");hA(a.e,e)}
function uH(a){vH(a);wH(a);var b=fH.Tb.b;bw(b,0);b.pb.options[0].selected=!0;b=gH.Tb.b;bw(b,0);b.pb.options[0].selected=!0;P(XG,a.b);P(YG,a.b);P(dH,a.b);P(eH,a.b);P(fH,a.b);P(gH,a.b);xH(a)}function vH(a){P(ZG,a.b);P($G,a.b);P(aH,a.b);P(bH,a.b);P(cH,a.b);P(TG,a.b);P(UG,a.b);P(VG,a.b);P(WG,a.b)}function wH(a){P(QG,a.b);P(RG,a.b);P(SG,a.b)}function xH(a){P(hH,a.b);P(iH,a.b);P(kH,a.b);P(nH,a.b);a.c=!1}
function XF(a){Cz.call(this,"Atom/Bond Query");this.f=new My(this.kf());py(this.p,new oF(this));this.b=(rF(),DB);this.d=a;yH||(a=wx(a),yH=new Xz(a),yx(yH,-150,-50));this.i=yH;cy(this,new Lz);P(this,this.b);a=new gy;cy(a,new pz(0,3,1));Q(a,new Pz("Atom type :"),null);QG=new My(Gb);RG=new My("Any except C");SG=new My("Halogen");Q(a,QG,null);Q(a,RG,null);Q(a,SG,null);Q(this,a,null);a=new gy;cy(a,new pz(0,3,1));Q(a,new Qz("Or select one or more from the list :",0),null);Q(this,a,null);a=new gy;cy(a,new pz(0,
3,1));ZG=new My(Mb);$G=new My(pc);aH=new My(wc);bH=new My(Nc);cH=new My(yc);TG=new My(Yb);UG=new My(Qb);VG=new My(Lb);WG=new My(ec);Q(a,ZG,null);Q(a,$G,null);Q(a,aH,null);Q(a,bH,null);Q(a,cH,null);Q(a,TG,null);Q(a,UG,null);Q(a,VG,null);Q(a,WG,null);Q(this,a,null);a=new gy;cy(a,new pz(0,3,1));fH=new Qy;Py(fH,Gb);Py(fH,gb);Py(fH,ib);Py(fH,pb);Py(fH,qb);Q(a,new Pz("Number of hydrogens :  "),null);Q(a,fH,null);Q(this,a,null);a=new gy;cy(a,new pz(0,3,1));gH=new Qy;Py(gH,Gb);Py(gH,gb);Py(gH,ib);Py(gH,pb);
Py(gH,qb);Py(gH,"4");Py(gH,"5");Py(gH,"6");Q(a,new Qz("Number of connections :",0),null);Q(a,gH,null);Q(a,new Qz(" (H's don't count.)",0),null);Q(this,a,null);a=new gy;cy(a,new pz(0,3,1));Q(a,new Pz("Atom is :"),null);XG=new My(Ib);Q(a,XG,null);YG=new My("Nonaromatic");Q(a,YG,null);dH=new My(Mc);Q(a,dH,null);eH=new My(tc);Q(a,eH,null);Q(this,a,null);a=new gy;P(a,fz(ux(this)));cy(a,new pz(0,3,1));Q(a,new Pz("Bond is :"),null);hH=new My(Gb);Q(a,hH,null);iH=new My(Ib);Q(a,iH,null);kH=new My(Mc);Q(a,
kH,null);nH=new My(tc);Q(a,nH,null);Q(this,a,null);a=new gy;cy(a,new pz(1,3,1));this.e=new jA(Ba,20);Q(a,this.e,null);Q(a,new My(Kc),null);Q(a,this.f,null);Q(this,a,null);this.Tb&&Ez(this.Tb.d,!1);Bz(this,!1);vH(this);wH(this);xH(this);P(XG,this.b);P(YG,this.b);P(dH,this.b);P(eH,this.b);P(fH,this.b);P(gH,this.b);OG(this,QG);Az(this);a=this.i;nE(this.Tb.d,a.b,a.c);!vx(this)&&$x(this);Kx(this)}t(544,534,Qh,XF);
_.lf=function(a,b){var c;C(b,Kc)?(uH(this),OG(this,QG),PG(this)):y(a.i,85)?(xH(this),a.i==QG?(vH(this),wH(this)):a.i==RG?(vH(this),wH(this)):a.i==SG?(vH(this),wH(this)):a.i==dH?P(eH,this.b):a.i==eH?(P(dH,this.b),P(XG,this.b)):a.i==XG?(P(YG,this.b),P(eH,this.b)):a.i==YG?P(XG,this.b):a.i==hH||a.i==iH||a.i==kH||a.i==nH?(uH(this),this.c=!0):wH(this),OG(this,a.i),PG(this)):y(a.i,86)&&(xH(this),c=a.i,0==c.Tb.b.pb.selectedIndex?P(c,this.b):P(c,(Sy(),$y)),PG(this));107!=this.d.c&&(this.d.c=107,sB(this.d));
return!0};_.c=!1;_.d=null;var QG=_.e=null,hH=null,RG=null,XG=null,iH=null,VG=null,ZG=null,gH=null,fH=null,UG=null,TG=null,SG=null,WG=null,yH=null,$G=null,YG=null,eH=null,nH=null,aH=null,cH=null,dH=null,kH=null,bH=null;function nG(){GC(this)}t(545,470,Eh,nG);_.b=-1;
function $p(a){a=new wA(a);cq();var b,c,d,e,f;try{var g=(oA(),rA);if(sA(g,(oA(),rA)))b=a.b;else if(sA(g,pA))b=new zA(a.b);else throw new xA(g);c=en(b)?b.tS():b.toString?b.toString():"[JavaScriptObject]";d=new XE;Sw(d.f,c);e=(f=pC(c,"\r\n|\r|\n|\n\r"),f.length);d.f.pb.rows=10>e?e:10;rn((on(),pn),new $E(d));ZD(d);mE(d)}catch(h){if(h=ii(h),y(h,99))Pm(h);else throw h;}}function oG(){}t(546,1,{},oG);_.b=null;function iF(a){if(!a)throw new Vm;this.b=a}t(547,1,{},iF);_.Lc=function(){return RA(this.b)};
_.Mc=function(){return di(this.b)};_.Nc=function(){throw new UA("Missing message: awt.50");};_.b=null;function wy(){return wy()}function JA(){JA=u;var a;a=(AA(),BA["os.encoding"]);if(null!=a)try{if(C("UTF-8",a)||C("ISO-8859-1",a)||C("ISO-LATIN-1",a))v(zH,k,-1,0,1);else throw new UB(a+" is not supported");}catch(b){if(b=ii(b),!y(b,120))throw b;}}function Vz(a,b){a.b=31*a.b+H((new hC(b)).b)}function kz(){}t(550,1,{},kz);_.hC=function(){return this.b};_.b=1;
function AH(){AH=u;var a,b;a=$doc;if((b=a.getElementsByTagName(Le))&&0<b.length)b=$doc.getElementsByTagName(Le)[0],b.style[Je]=jb;a.body.style[Je]=jb}function tE(a){AH();var b;b=v(G,r,-1,4,1);b[0]=BH(CH(a,"borderTopWidth"));b[1]=BH(CH(a,"borderRightWidth"));b[2]=BH(CH(a,"borderBottomWidth"));b[3]=BH(CH(a,"borderLeftWidth"));return b}function DH(a){AH();var b,c;c=EH(a);b=tE(a);a=new Lp(a.clientWidth,a.clientHeight);a.c+=b[1]+b[3]+(c[1]+c[3]);a.b+=b[0]+b[2]+(c[0]+c[2]);return a}
function Kp(a){AH();return new Lp(a.clientWidth,a.clientHeight)}function EH(a){AH();var b;b=v(G,r,-1,4,1);b[0]=BH(CH(a,"marginTop"));b[1]=BH(CH(a,"marginRight"));b[2]=BH(CH(a,"marginBottom"));b[3]=BH(CH(a,"marginLeft"));return b}function FH(a){AH();var b;b=v(G,r,-1,4,1);b[0]=BH(CH(a,"paddingTop"));b[1]=BH(CH(a,"paddingRight"));b[2]=BH(CH(a,"paddingBottom"));b[3]=BH(CH(a,"paddingLeft"));return b}function GH(a,b,c){AH();try{C(b,ie)&&(b=Vd),a.style[b]=c}catch(d){if(d=ii(d),!y(d,113))throw d;}}
function $D(a,b){AH();var c;HH||(HH=$doc.createElement(ng),GH(HH,Se,j),GH(HH,Cg,j),GH(HH,Mf,fd),GH(HH,Og,Ke),$doc.body.appendChild(HH));GH(HH,Rg,a);GH(HH,Je,a);c=DH(HH);return b?c.c:c.b}var HH=null;function IH(){Lp.call(this,0,0)}function Lp(a,b){this.c=a;this.b=b}function zE(a){Lp.call(this,a.c,a.b)}t(552,1,Kh,IH,Lp,zE);_.eQ=function(a){return this===a?!0:null==a||JH!=cn(a)||this.b!=a.b||this.c!=a.c?!1:!0};_.hC=function(){var a;a=31+this.b;return a=31*a+this.c};
_.tS=function(){return"Dimension [height="+this.b+", width="+this.c+cd};_.b=0;_.c=0;function KH(a){this.e=a[0];this.c=a[3];this.b=a[2];this.d=a[1]}t(553,1,{107:1,109:1,129:1},KH);_.eQ=function(a){return a===this?!0:y(a,129)?a.c==this.c&&a.b==this.b&&a.d==this.d&&a.e==this.e:!1};_.hC=function(){var a;a=213+this.e;a=71*a+this.c;a=71*a+this.b;return a=71*a+this.d};_.tS=function(){return LH.e+"[left="+this.c+",top="+this.e+",right="+this.d+",bottom="+this.b+cd};_.b=0;_.c=0;_.d=0;_.e=0;
function MH(a,b){this.b=a;this.c=b}t(554,1,Kh,MH);_.eQ=function(a){return this===a?!0:null==a||NH!=cn(a)||this.b!=a.b||this.c!=a.c?!1:!0};_.hC=function(){var a;a=31+this.b;return a=31*a+this.c};_.tS=function(){return NH.e+"[x="+this.b+",y="+this.c+cd};_.b=0;_.c=0;function KE(){this.c=this.b=this.e=this.d=0}t(555,1,Kh,KE);_.eQ=function(a){return this===a?!0:null==a||OH!=cn(a)||this.b!=a.b||this.c!=a.c||this.d!=a.d||this.e!=a.e?!1:!0};
_.hC=function(){var a;a=31+this.b;a=31*a+this.c;a=31*a+this.d;return a=31*a+this.e};_.tS=function(){return OH.e+"[x="+this.d+",y="+this.e+",width="+this.c+",height="+this.b+cd};_.b=0;_.c=0;_.d=0;_.e=0;function CH(a,b){if(document.defaultView&&document.defaultView.getComputedStyle){var c=null;b==ie&&(b=Vd);var d=a.ownerDocument.defaultView.getComputedStyle(a,j);d&&(c=d[b]);return c||a.style[b]||j}return el.style[b]||j}t(557,1,{});var PH=-1;function QH(){}t(558,557,{},QH);_.b=-1;_.c=-1;var RH=null;
function BH(a){a=parseInt(a,10);a=isNaN(a)?null:iC(a);return!a?0:a.b}t(561,293,{46:1,48:1,57:1,61:1,69:1,71:1,72:1,75:1,80:1,82:1,131:1,137:1});_.cf=function(){return Op(this.i)};_.df=function(a){dE(this.i,a)};_.ef=function(){Sp(this.i)};_.yd=function(){Sp(this.i)};_.Zc=function(a){var b=this.i;b.pb.style[Je]=a;b.kb||(b.i=a)};_._c=function(a){var b=this.i;b.pb.style[Rg]=a;b.kb||(b.j=a)};function gE(){gE=u;hE()}function Dz(a,b){a.b.pb.textContent=b||j;dE(a.i,null)}
function SH(a){gE();var b;ev(this,new FE);this.b=new TH;b=this.i;UH(b,new VH);GH(b.pb,"padding",hb);b.p=0;QE(b,this.b,new RE(0),b.q.d);this.b.Wc()[Dd]="mosaic-Caption-text";this.b.pb.textContent=a||j;dE(this.i,null);this.pb[Dd]="mosaic-Caption"}t(560,561,{16:1,19:1,20:1,35:1,36:1,37:1,38:1,39:1,40:1,46:1,48:1,57:1,61:1,67:1,68:1,69:1,71:1,72:1,75:1,79:1,80:1,82:1,131:1,137:1},SH);_.Ac=function(a){return A(this,a,(jq(),jq(),kq))};_.Bc=function(a){return A(this,a,(Oi(),Oi(),Pi))};
_.Cc=function(a){return A(this,a,(nq(),nq(),oq))};_.Dc=function(a){return A(this,a,(Qi(),Qi(),Ri))};_.c=null;function hE(){hE=u;WH=jn()+"40BAF81124143A595056A9CCA0E9DBBA.cache.png";new mx(WH,240,20);new mx(WH,224,16);new mx(WH,208,16);new mx(WH,192,16);new mx(WH,176,16);new mx(WH,160,16);new mx(WH,144,16);new mx(WH,128,16);new mx(WH,112,16);new mx(WH,96,16);new mx(WH,80,16);new mx(WH,64,16);new mx(WH,260,16);iE=new mx(WH,48,16);new mx(WH,32,16);new mx(WH,16,16);new mx(WH,0,16)}var WH,iE;
function XH(a,b){Qt(a.b.pb,!b);dE(a.i,a.b)}function Mp(a,b){a.d=b;Qt(a.b.pb,!b);dE(a.i,a.b);if(a.e){var c;for(c=new ci(a.e);c.c<c.e.me();)di(c)}}function LE(a){var b;ev(this,new FE);b=this.i;UH(b,new YH((ZH(),$H)));b.p=0;this.c=new SH(a);QE(b,this.c,new RE(1),b.q.d);this.b=new FE;xi(this.b,"Body");QE(b,this.b,new RE(0),b.q.d);this.pb[Dd]="mosaic-CaptionLayoutPanel"}t(563,561,{46:1,48:1,57:1,61:1,69:1,70:1,71:1,72:1,75:1,80:1,82:1,131:1,137:1},LE);_.ad=function(){Tt(this.i)};_.bd=function(){Wt(this.i)};
_.ld=function(){return new $t(this.b)};_.hd=function(a){return eE(this.b,a)};_.b=null;_.c=null;_.d=!1;_.e=null;function NE(){GC(this)}t(564,470,Eh,NE);function EE(a){this.b=a}t(565,1,ih,EE);_.hc=function(){Sp(this.b.T.jb)};_.b=null;function aI(a){var b;b=a.c;a=b.r;b=!a.f?-1:Xi(a.f.b,b);a.f&&Ps(a.f.b,b)&&Ss(a.f.b,b);b=!a.f?0:a.f.b.d;0<b&&AE(!a.f?null:Ps(a.f.b,b-1))}function bI(a){var b;b=a.b;a=b.r;!a.f&&(a.f=new ey);-1==Xi(a.f.b,b)&&ri(a.f.b,b)}function xE(){}t(566,1,{},xE);_.Ec=function(a){aI(a)};
_.Fc=function(a){bI(a)};_.Hc=function(a){cI(a.b.r,a.b)};function YE(){YE=u;dI=new eI(1,"e");fI=new eI(2,yf);gI=new eI(3,"ne");hI=new eI(10,"nw");iI=new eI(4,fg);jI=new eI(5,ig);kI=new eI(12,"sw");lI=new eI(8,"w");ZE=new mI((Fi(),Gi(null)).pb)}function pE(a,b){var c;c=tE(a.pb);return new MH(ij(b.pb)-(ij(a.pb)+c[3]),kj(b.pb)-(kj(a.pb)+c[0]))}
function nI(a){var b,c,d,e,f,g;if(a.f){b=Kp(a.pb);for(d=0,e=a.f.b.d;d<e;++d)g=Ps(a.f.b,d),c=new Lp(Fn(g.pb,Hf),Fn(g.pb,Gf)),f=pE(a,g),f.b-=cj(0,f.b+Fn(g.pb,Hf)-b.c),f.c-=cj(0,f.c+Fn(g.pb,Gf)-b.b),nE(g,cj(0,f.b),cj(0,f.c)),c.c=c.c>b.c?b.c:-1,c.b=c.b>b.b?b.b:-1,yE(g,c.c,c.b),g.O==(Ip(),Jp)&&Qp(g,new zE(Kp(a.pb))),Qj(g.z,1)}}function oI(a,b,c){a=a.e;gi(a,b,b);x(a.d,b,c);xi(b,Lc+c.c)}
function Pp(a,b){var c;c=a.e;pI(c,b.H);wi(b.H,Lc+hI.c);pI(c,b.D);wi(b.D,Lc+fI.c);pI(c,b.E);wi(b.E,Lc+gI.c);pI(c,b.N);wi(b.N,Lc+lI.c);pI(c,b.v);wi(b.v,Lc+dI.c);pI(c,b.M);wi(b.M,Lc+kI.c);pI(c,b.K);wi(b.K,Lc+iI.c);pI(c,b.L);wi(b.L,Lc+jI.c)}
function Rp(a,b){!b.H&&(b.H=rE(b,0,0));oI(a,b.H,hI);!b.D&&(b.D=rE(b,0,1));oI(a,b.D,fI);!b.E&&(b.E=rE(b,0,2));oI(a,b.E,gI);!b.N&&(b.N=rE(b,1,0));oI(a,b.N,lI);!b.v&&(b.v=rE(b,1,2));oI(a,b.v,dI);!b.M&&(b.M=rE(b,2,0));oI(a,b.M,kI);!b.K&&(b.K=rE(b,2,1));oI(a,b.K,iI);!b.L&&(b.L=rE(b,2,2));oI(a,b.L,jI)}function cI(a,b){var c,d;a.b=b;d=a.f.b.d;c=Xi(a.f.b,b);if(c+1<d){By(a.f,b);for(ri(a.f.b,b);c<d;++c)BE(Ps(a.f.b,c),c)}else BE(b,c)}
function mI(a){a=new qI(a);ev(this,a);this.d=new rI(a);this.d.j=!0;oi(this.d);this.d.n=3;this.e=new sI(a);this.e.j=!0;oi(this.e);this.e.n=3;gv(this)}t(567,293,{46:1,48:1,57:1,61:1,69:1,71:1,72:1,75:1,80:1,82:1,137:1},mI);_.cf=function(){return Kp(this.pb)};_.df=function(){var a;(a=tI(this))&&a.df(null)};_.ef=function(){nI(this)};_.Ec=function(a){!this.c&&(this.c=new xE);aI(a)};_.Fc=function(a){!this.c&&(this.c=new xE);bI(a)};_.yd=function(){nI(this)};
_.Hc=function(a){!this.c&&(this.c=new xE);cI(a.b.r,a.b)};_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;var dI,fI,gI,hI,ZE,iI,jI,kI,lI;function qI(a){this.q=new tu(this);this.pb=a}t(568,273,Ch,qI);function eI(a,b){this.b=a;this.c=b}t(569,1,{},eI);_.b=0;_.c=null;function rI(a){Zh();ti.call(this,a)}t(570,3,{},rI);_.bc=function(){var a;a=this.k.f;a.C||gj(a.x);wi(this.k.f,"dragdrop-dragging");!a.I.d&&XH(a.I,!1)};
_.dc=function(){var a,b;a=this.k.c;b=this.k.d;this.j&&(a=cj(this.b,a<this.e?a:this.e),b=cj(this.c,b<this.d?b:this.d));var c=this.k.f.pb;c.style[Se]=a+(Si(),Qf);c.style[Cg]=b+Qf};
_.cc=function(){var a;a=this.k.f;a==a.r.b||AE(a);a.I.d||XH(a.I,!0);a.C||(a.x||(a.x=new uI,xi(a.x,"mosaic-GlassPanel-invisible")),GH(a.x.pb,Tg,(AH(),CH(a.pb,Tg))),Ei((Fi(),Gi(null)),a.x,0,0));xi(this.k.f,"dragdrop-dragging");a=new $i(this.k.b,null);this.b=a.b+jj(this.k.b.pb);this.c=a.e+lj(this.k.b.pb);this.e=this.b+nj(this.k.b.pb)-this.k.f.Vc();this.d=this.c+mj(this.k.b.pb)-this.k.f.Uc()};_.b=0;_.c=0;_.d=0;_.e=0;function pI(a,b){try{ki(a,b)}catch(c){if(c=ii(c),!y(c,113))throw c;}}
function sI(a){Zh();ti.call(this,a);this.d=new ai}t(571,3,{},sI);_.bc=function(){var a;a=this.k.f.ob;a.C||gj(a.x);wi(this.k.f,"dragdrop-dragging");XH(a.I,!1);Np(a,new Lp(a.q,a.p));Qj(a.z,1)};
_.dc=function(){var a,b,c,d;d=this.k.f.ob;c=Bi(this.k.e.d,this.k.f).b;0!=(c&2)?(b=this.j?this.k.f.Tc()-cj(this.k.d,this.c):this.k.f.Tc()-this.k.d,0!=b&&(a=d.p,b=cj(a+b,Fn(d.I.c.pb,Gf)),b!=a&&qE(d,0,a-b),Np(d,new Lp(d.q,b)),Qj(d.z,333))):0!=(c&4)&&(b=this.j?(this.k.d<this.e?this.k.d:this.e)-this.k.f.Tc():this.k.d-this.k.f.Tc(),0!=b&&(a=d.p,b=cj(a+b,Fn(d.I.c.pb,Gf)),Np(d,new Lp(d.q,b)),Qj(d.z,333)));0!=(c&8)?(b=this.j?this.k.f.Sc()-cj(this.k.c,this.b):this.k.f.Sc()-this.k.c,0!=b&&(a=d.q,b=96<a+b?a+
b:96,b!=a&&qE(d,a-b,0),Np(d,new Lp(b,d.p)),Qj(d.z,333))):0!=(c&1)&&(b=this.j?(this.k.c<this.f?this.k.c:this.f)-this.k.f.Sc():this.k.c-this.k.f.Sc(),0!=b&&(a=d.q,Np(d,new Lp(96<a+b?a+b:96,d.p)),Qj(d.z,333)))};
_.cc=function(){var a;a=this.k.f.ob;a==a.r.b||AE(a);XH(a.I,!0);a.C||(a.x||(a.x=new uI,xi(a.x,"mosaic-GlassPanel-invisible")),GH(a.x.pb,Tg,(AH(),CH(a.pb,Tg))),Ei((Fi(),Gi(null)),a.x,0,0));xi(this.k.f,"dragdrop-dragging");a=new $i(this.k.b,null);this.b=a.b+jj(this.k.b.pb);this.c=a.e+lj(this.k.b.pb);this.f=this.b+nj(this.k.b.pb)-this.k.f.Vc();this.e=this.c+mj(this.k.b.pb)-this.k.f.Uc()};_.b=0;_.c=0;_.e=0;_.f=0;
function uI(){var a;this.e=new vI(this);this.b=!1;this.c=new xu;ev(this,this.c);a=this.pb.style;a[nd]="#000";a[he]="alpha(opacity=50)";a.opacity="0.5";this.pb[Dd]="gwt-GlassPanel"}t(572,293,dh,uI);
_.dd=function(){var a;gv(this);try{a=this.ob}catch(b){b=ii(b);if(y(b,118))throw new Ut("Parent widget must be an instance of AbsolutePanel");throw b;}a==(Fi(),Gi(null))?(Hs(this),Is(this.pb),a=this.e,a.c?$wnd.clearInterval(a.d):$wnd.clearTimeout(a.d),qi(Sj,a),a.c=!0,a.d=ak(a),ri(Sj,a),this.d=new wI(this),lt(new Gs(this.d))):(this.pb.style[wd]=hb,this.pb.style[$f]=hb);this.b&&$s(new Fs(this));Ei(Gi(null),new xI,Pn($doc),Qn($doc))};
_.ed=function(){this.i.ed();Yj(this.e);this.d&&(Ds(jt,this.d,E(yI,k,47,[(!xq&&(xq=new Xj),xq)])),this.d=null);this.b&&Ds(bt,this,E(yI,k,47,[(!at&&(at=new Xj),at)]))};_.Pc=function(a){switch(Xs(a.type)){case 256:if(27==(a.keyCode||0))return gj(this),!1;case 1:if(On(this.pb,a.target))return gj(this),!1}return!0};_.fd=function(){};_.b=!1;_.c=null;_.d=null;function vI(a){Rj();this.b=a}t(573,26,{},vI);_.rc=function(){var a=this.b;Hs(a);Is(a.pb)};_.b=null;function wI(a){this.b=a}t(574,1,{},wI);_.b=null;
function xI(){this.pb=jv();var a;a=new dw(new zI(this));A(this,a,(np(),np(),op));A(this,a,(Tp(),Tp(),Up))}t(575,295,vh,xI);_.fd=function(){Yi(new AI(this))};function zI(a){this.b=a}t(576,1,{},zI);_.b=null;function AI(a){this.b=a}t(577,1,ih,AI);_.hc=function(){this.b.pb.focus()};_.b=null;function BI(a){a.pb.style[Rg]=md;a.pb.style[Je]=md;if(a.kb){var a=a.ob,b;y(a,137)?a.df(null):(b=tI(a))&&b.df(a)}}t(579,276,{46:1,48:1,57:1,68:1,69:1,72:1,75:1,76:1,79:1,80:1,82:1,137:1});
_.cf=function(){BI(this);return new Lp(Fn(this.pb,Hf),Fn(this.pb,Gf))};_.df=function(){BI(this)};_.ef=function(){};_.Oc=function(){};_.yd=function(){};function TH(){this.pb=$doc.createElement("label");this.pb[Dd]="mosaic-Label";this.pb.style[Qg]=Df;this.pb[Dd]="mosaic-HTML"}t(578,579,{46:1,48:1,57:1,67:1,68:1,69:1,72:1,75:1,76:1,79:1,80:1,82:1,137:1},TH);function OE(a){ev(this,new CI(a));this.pb[Dd]="mosaic-ImageButton"}t(580,293,{19:1,46:1,48:1,57:1,61:1,69:1,71:1,72:1,76:1,80:1,82:1},OE);
function lF(){zu();var a=(Ou(),Ru);Hu.call(this,!0,ef);this.U=a.b;this.b=new DI(this);this.b.e=!0;uu(this,this.b);this.ab=!0;this.b.i=!0;-1==this.lb?Ht(this.pb,1|(this.pb.__eventBits||0)):this.lb|=1;(Gu?In(this.pb):Jn(In(this.pb)))[Dd]=He;this.pb.style[Tg]="2147483647"}t(581,278,Ch,lF);_.Oc=function(a){Vt(this,a);1==Xs(a.type)&&Bu(this,!1)};_.b=null;
function DI(a){this.c=a;this.d=new yi;this.j=new yi;a=(vw(),uw);new lx(a.e,a.c,a.d,a.f,a.b);var b;b=$doc.createElement(sg);this.f=$doc.createElement(vg);Ts(b,this.f);this.p=!0;a=jv();b=(Us(),Vs(b));a.appendChild(b);this.pb=a;Yk();this.pb.setAttribute(ag,Cl.b);-1==this.lb?Ht(this.pb,2225|(this.pb.__eventBits||0)):this.lb|=2225;this.pb[Dd]=Ge;a=Ot(this.pb)+"-vertical";ei(this.Wc(),a,!0);this.pb.style.outline=hb;this.pb.setAttribute("hideFocus",Lg);A(this,new tw(this),(np(),np(),op))}t(582,317,Gh,DI);
_.Oc=function(a){switch(Xs(a.type)){case 16:this.b=!1;break;case 32:this.b=!0}mw(this,a)};_.xd=function(a,b){qw(this,a,b);b||this.b&&Bu(this.c,!1)};_.b=!0;_.c=null;
function CI(a){var b=(wv(),Hv),c=(Kv(),Lv),d;d=new qv;d.i[vd]=gb;d.i[yd]=0;d.i[zd]=0;this.b=b;this.c=c;var b=d.e,c=this.b,e=this.c;ov(b.b);b.b.d.rows[0].cells[0][id]=c.b;ov(b.b);b.b.d.rows[0].cells[0].style[Ng]=e.b;ov(d);b=kv(d,0,0,!0);if(a){gj(a);c=d.j;if(c.b){var e=c.b.b,f=c.c,g=e;mv(g,f.d);or(f.c,g,a);c.b=c.b.c}else e=c.c.d,ri(c.c,a);a.pb[dd]=e;Ts(b,a.pb);Yt(a,d)}ev(this,d);ei(this.pb,"mosaic-WidgetWrapper",!0)}t(583,293,dh,CI);_.b=null;_.c=null;function GE(a){this.b=a}t(584,1,{},GE);
_.zc=function(){this.b.hb&&this.b!=this.b.r.b&&AE(this.b)};_.b=null;function HE(a){Rj();this.b=a}t(585,26,{},HE);_.rc=function(){Sp(this.b.T.jb);var a=this.b;wq((!a.y&&(a.y=new hF),a.y))};_.b=null;function IE(a){Rj();this.b=a}t(586,26,{},IE);_.rc=function(){uE(this.b,(Ip(),Jp))};_.b=null;function JE(a){Rj();this.b=a}t(587,26,{},JE);_.rc=function(){uE(this.b,(Ip(),vE))};_.b=null;function ME(){}t(588,1,{},ME);function PE(a){this.b=a}t(589,1,{},PE);_.zc=function(){this.b.sd()};_.b=null;
function SE(a){this.b=a}t(590,1,{},SE);_.b=null;function TE(a){this.b=a}t(591,1,ih,TE);_.hc=function(){this.b.O==(Ip(),Jp)?Qj(this.b.A,333):this.b.O==vE&&Qj(this.b.B,333)};_.b=null;function sE(a){this.pb=a;Tt(this)}t(592,276,{16:1,19:1,35:1,36:1,37:1,38:1,39:1,40:1,46:1,48:1,57:1,69:1,72:1,80:1,82:1},sE);_.Ac=function(a){return A(this,a,(jq(),jq(),kq))};_.Bc=function(a){return A(this,a,(Oi(),Oi(),Pi))};_.Cc=function(a){return A(this,a,(nq(),nq(),oq))};_.Dc=function(a){return A(this,a,(Qi(),Qi(),Ri))};
function hF(){Pq.call(this,null)}t(593,207,bh,hF);function Ip(){Ip=u;Jp=new EI("MAXIMIZED",0);vE=new EI("MINIMIZED",1);wE=new EI("NORMAL",2);FI=E(GI,k,132,[Jp,vE,wE])}function EI(a,b){D.call(this,a,b)}t(594,138,{107:1,110:1,112:1,132:1},EI);var FI,Jp,vE,wE;function Hs(a){var b,c,d,e;c=Mi();b=Ni();e=(It(),Jt).scrollWidth;d=Jt.scrollHeight;c=c>e?c:e;b=b>d?b:d;0<=c-1&&(a.pb.style[Rg]=c-1+Qf);0<=b-1&&(a.pb.style[Je]=b-1+Qf)}
function Is(a){var b=$doc.defaultView.getComputedStyle($doc.documentElement,null);a.style.marginLeft=(Fa+b.getPropertyValue("margin-left")).replace(Ga,j);a.style.marginTop=(Fa+b.getPropertyValue("margin-top")).replace(Ga,j)}function HI(a,b){var c,d,e;if(a.n)return!0;si(a.y);for(c=new $t(b);c.b.b<c.b.c.d-1;)d=cE(au(c.b)),e=d.ob,y(e,138)&&e.$c(d.Xc()),d.Xc()&&ri(a.y,d);return!0}
function II(a,b){var c,d,e;if(b.b)a.d&&oj(a.d),a.d=new JI(a,b),Cj(a.d,333);else for(d=new ci(a.y);d.c<d.e.me();)c=di(d),e=c.nb,KI(b,c,e.t,e.u),LI(c,e.v,e.s,E(G,r,-1,[MI(a.r.b,c).e,MI(a.q.b,c).d,MI(a.o.b,c).b,MI(a.p.b,c).c]),E(G,r,-1,[NI(a.j.b,c).e,NI(a.i.b,c).d,NI(a.e.b,c).b,NI(a.f.b,c).c]),E(G,r,-1,[OI(a.v,c),OI(a.u,c),OI(a.s,c),OI(a.t,c)]))}
function PI(){this.y=new yi;this.k=new QI(this);this.x=new RI(this.k);this.w=new SI(this.k);this.r=new TI(this.k);this.q=new UI(this.k);this.o=new VI(this.k);this.p=new WI(this.k);this.j=new XI(this.k);this.i=new YI(this.k);this.e=new ZI(this.k);this.f=new $I(this.k);this.v=new aJ(this.k);this.u=new aJ(this.k);this.s=new aJ(this.k);this.t=new aJ(this.k)}t(598,1,{});_.mf=function(a){II(this,a)};_.d=null;_.e=null;_.f=null;_.i=null;_.j=null;_.k=null;_.n=!1;_.o=null;_.p=null;_.q=null;_.r=null;_.s=null;
_.t=null;_.u=null;_.v=null;_.w=null;_.x=null;function bJ(a){var b;b=a.b;var c=a.c,d,e,f;for(e=new ci(b.y);e.c<e.e.me();)d=di(e),y(d,62)&&(d=d.jb),f=d.nb,KI(c,d,f.t,f.u),LI(d,f.v,f.s,E(G,r,-1,[MI(b.r.b,d).e,MI(b.q.b,d).d,MI(b.o.b,d).b,MI(b.p.b,d).c]),E(G,r,-1,[NI(b.j.b,d).e,NI(b.i.b,d).d,NI(b.e.b,d).b,NI(b.f.b,d).c]),E(G,r,-1,[OI(b.v,d),OI(b.u,d),OI(b.s,d),OI(b.t,d)]));cJ(c);a.b.d=null;for(a=new ci(a.b.y);a.c<a.e.me();)b=di(a),y(b,62)&&(b=b.jb),b=b.nb,b.p=b.q=b.r=b.o=-1}
function JI(a,b){this.b=a;this.c=b;var c=(Hj(),Kj);this.n=new Gj(this);this.u=c}t(599,17,{},JI);_.ic=function(){bJ(this)};_.jc=function(){bJ(this)};
_.lc=function(a){var b,c,d;for(c=new ci(this.b.y);c.c<c.e.me();)b=di(c),y(b,62)&&(b=b.jb),d=b.nb,d.j=H(d.p+(d.t-d.p)*a),d.w=H(d.q+(d.u-d.q)*a),d.x=H(d.r+(d.v-d.r)*a),d.i=H(d.o+(d.s-d.o)*a),KI(this.c,b,d.j,d.w),LI(b,d.x,d.i,E(G,r,-1,[MI(this.b.r.b,b).e,MI(this.b.q.b,b).d,MI(this.b.o.b,b).b,MI(this.b.p.b,b).c]),E(G,r,-1,[NI(this.b.j.b,b).e,NI(this.b.i.b,b).d,NI(this.b.e.b,b).b,NI(this.b.f.b,b).c]),E(G,r,-1,[OI(this.b.v,b),OI(this.b.u,b),OI(this.b.s,b),OI(this.b.t,b)]))};_.b=null;_.c=null;t(601,1,{});
_.b=null;function ZI(a){this.b=a}t(600,601,{},ZI);function $I(a){this.b=a}t(602,601,{},$I);function YI(a){this.b=a}t(603,601,{},YI);function XI(a){this.b=a}t(604,601,{},XI);function VI(a){this.b=a}t(605,601,{},VI);function WI(a){this.b=a}t(606,601,{},WI);function UI(a){this.b=a}t(607,601,{},UI);function TI(a){this.b=a}t(608,601,{},TI);t(609,601,{},function(a){this.b=a});t(610,601,{},function(a){this.b=a});function OI(a,b){var c=a.b,d;d=Bi(c.e,b);d||(d=new KH(FH(b.pb)),x(c.e,b,d));return d.e}
function aJ(a){this.b=a}t(611,601,{},aJ);function SI(a){this.b=a}t(612,601,{},SI);function RI(a){this.b=a}t(613,601,{},RI);function NI(a,b){var c;c=Bi(a.b,b);c||(c=new KH(tE(b.pb)),x(a.b,b,c));return c}function MI(a,b){var c;c=Bi(a.c,b);c||(c=new KH(EH(b.pb)),x(a.c,b,c));return c}
function dJ(a,b){var c,d;d=Bi(a.f,b);if(!d){c=b.nb;a:{d=a.i;var e=tI(b),f,g,h,i,l;if(y(b,137)){if(null!=c.n&&null!=c.k){d=new Lp(eJ(e,!0),eJ(e,!1));break a}i=b.cf();null!=c.n&&(i.c=eJ(e,!0));null!=c.k&&(i.b=eJ(e,!1))}else{if(null!=c.n&&null!=c.k){d=new Lp(eJ(e,!0),eJ(e,!1));break a}i=new IH;f=b.pb;l=f.style;g=l[Mf];h=l[Og];l[Mf]="static";l[Og]=Ke;null!=c.n?i.c=eJ(e,!0):(l[Rg]=md,i.c=(f.offsetWidth||0)+MI(d.p.b,b).c+MI(d.q.b,b).d);null!=c.k?i.b=eJ(e,!1):(l[Je]=md,i.b=(f.offsetHeight||0)+MI(d.r.b,b).e+
MI(d.o.b,b).b);l[Mf]=g;l[Og]=h}d=i}null!=c.n&&(Si(),Mo)==c.n.of()||null!=c.k&&(Si(),Mo)!=c.k.of()||x(a.f,b,d)}return d}function QI(a){this.i=a;this.d=new ai;this.f=new ai;this.c=new ai;this.b=new ai;this.e=new ai}t(614,1,{},QI);_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;_.i=null;function fJ(a){var b;b=a.nb;if(null==b||!y(b,135))b=new gJ,a.nb=b;return b}function VH(){YH.call(this,(ZH(),hJ))}function YH(a){var b=(iJ(),jJ);PI.call(this);this.c=a;this.b=b}t(615,598,{},VH,YH);
_.nf=function(a){var b,c,d,e,f,g,h,i,l;i=new IH;HI(this,a);l=MI(this.p.b,a).c+MI(this.q.b,a).d+NI(this.f.b,a).c+NI(this.i.b,a).d+OI(this.t,a)+OI(this.u,a);d=MI(this.r.b,a).e+MI(this.o.b,a).b+NI(this.j.b,a).e+NI(this.e.b,a).b+OI(this.v,a)+OI(this.s,a);c=this.y.d;if(0==c)return i.c=l,i.b=d,i;a=a.p;this.c==(ZH(),hJ)?l+=(c-1)*a:d+=(c-1)*a;f=g=0;for(a=new ci(this.y);a.c<a.e.me();)c=di(a),e=fJ(c),b=null,h=c.ob,y(h,138)&&(b=h,b=kJ(b),b=new Lp(b[1]+b[3],b[0]+b[0])),this.c==hJ?(l+=dJ(this.x.b,c).c,e.b=dJ(this.w.b,
c).b,y(h,138)&&(l+=b.c,e.b+=b.b),f=cj(f,e.b)):(d+=dJ(this.w.b,c).b,e.c=dJ(this.x.b,c).c,y(h,138)&&(d+=b.b,e.c+=b.c),g=cj(g,e.c));this.c==hJ?(i.c=l,i.b=d+f):(i.c=l+g,i.b=d);return i};
_.mf=function(a){var b,c,d,e,f,g,h,i,l,m,n,o,q,w,F,z,J,N;if(HI(this,a)&&(d=this.y.d,0!=d)){F=a.p;q=OI(this.t,a);z=OI(this.v,a);c=Kp(a.pb);N=c.c-(q+OI(this.u,a));n=c.b-(z+OI(this.s,a));g=N;c=n;this.c==(ZH(),hJ)?g-=(d-1)*F:c-=(d-1)*F;h=i=0;for(e=new ci(this.y);e.c<e.e.me();)d=di(e),b=null,o=fJ(d),w=d.ob,y(w,138)&&(b=w,b=kJ(b),b=new Lp(b[1]+b[3],b[0]+b[0])),this.c==hJ?(o.e?++i:(o.c=dJ(this.x.b,d).c,y(w,138)&&(o.c+=b.c),g-=o.c),o.d?o.b=n:(o.b=dJ(this.w.b,d).b,y(w,138)&&(o.b+=b.b))):(o.d?++h:(o.b=dJ(this.w.b,
d).b,y(w,138)&&(o.b+=b.b),c-=o.b),o.e?o.c=N:(o.c=dJ(this.x.b,d).c,y(w,138)&&(o.c+=b.c)));for(e=new ci(this.y);e.c<e.e.me();)d=di(e),b=null,o=d.nb,w=d.ob,y(w,138)&&(b=w,b=kJ(b),b=new Lp(b[1]+b[3],b[0]+b[0])),J=o.c,m=o.b,this.c==hJ?o.e&&(J=~~(g/i)):o.d&&(m=~~(c/h)),z=0>z?0:z,l=J,f=m,y(w,138)&&(l-=b.c,f-=b.b),this.c==$H?(o.t=this.b==(iJ(),jJ)?q:this.b==lJ?q+~~(N/2)-~~(J/2):q+N-J,o.u=z,o.v=l,o.s=f,z+=m+F):(this.b==(iJ(),jJ)?(o.t=q,o.u=z):this.b==lJ?(o.t=q,o.u=z+~~(n/2)-~~(m/2)):(o.t=q,o.u=z+n-m),o.v=
l,o.s=f,q+=J+F),a.b&&(w=d.Sc()-ij(a.pb)-OI(this.t,a),-1==o.p&&(o.p=w),w=d.Tc()-kj(a.pb)-OI(this.v,a),-1==o.q&&(o.q=w),-1==o.r&&(o.r=d.Vc()),-1==o.o&&(o.o=d.Uc()));II(this,a)}};_.b=null;_.c=null;function iJ(){iJ=u;jJ=new mJ("START",0);lJ=new mJ(Nb,1);nJ=new mJ(Wb,2);oJ=E(pJ,k,133,[jJ,lJ,nJ])}function mJ(a,b){D.call(this,a,b)}t(616,138,{107:1,110:1,112:1,133:1},mJ);var oJ,lJ,nJ,jJ;function ZH(){ZH=u;hJ=new qJ("HORIZONTAL",0);$H=new qJ("VERTICAL",1);rJ=E(sJ,k,134,[hJ,$H])}
function qJ(a,b){D.call(this,a,b)}t(617,138,{107:1,110:1,112:1,134:1},qJ);var rJ,hJ,$H;t(619,1,{139:1});_.f=!1;_.i=0;_.j=0;_.k=null;_.n=null;_.o=0;_.p=0;_.q=0;_.r=0;_.s=0;_.t=0;_.u=0;_.v=0;_.w=0;_.x=0;function gJ(){this.f=!1}function RE(a){this.f=!1;0==a?this.d=this.e=!0:1==a?this.e=!0:2==a&&(this.d=!0)}t(618,619,{135:1,139:1},gJ,RE);_.b=0;_.c=0;_.d=!1;_.e=!1;
function tJ(a,b){if(a.n)return!0;HI(a,b);if(0<a.y.d){a.b=Ps(a.y,0);var c=a.b,d;d=c.nb;if(null==d||!y(d,136))d=new uJ,c.nb=d;a.c=d;si(a.y);ri(a.y,a.b)}else a.b=null,a.c=null;return a.n=!!a.b}function vJ(){PI.call(this)}t(620,598,{},vJ);
_.nf=function(a){var b,c;c=new IH;tJ(this,a);if(this.b){b=dJ(this.x.b,this.b).c;var d=dJ(this.w.b,this.b).b;c.c=b;c.b=d;b=this.b.ob;y(b,138)&&(b=kJ(b),c.c+=b[1]+b[3],c.b+=b[0]+b[0])}c.c+=MI(this.p.b,a).c+MI(this.q.b,a).d+NI(this.f.b,a).c+NI(this.i.b,a).d+OI(this.t,a)+OI(this.u,a);c.b+=MI(this.r.b,a).e+MI(this.o.b,a).b+NI(this.j.b,a).e+NI(this.e.b,a).b+OI(this.v,a)+OI(this.s,a);return c};
_.mf=function(a){var b,c,d,e,f;tJ(this,a)&&(d=OI(this.t,a),e=OI(this.v,a),c=Kp(a.pb),f=c.c-(d+OI(this.u,a)),c=c.b-(e+OI(this.s,a)),b=this.b.ob,y(b,138)&&(b=kJ(b),f-=b[1]+b[3],c-=b[0]+b[2]),this.c.t=d,this.c.v=f,this.c.u=e,this.c.s=c,a.b&&(d=this.c,e=this.b.Sc()-ij(a.pb)-OI(this.t,a),-1==d.p&&(d.p=e),d=this.c,e=this.b.Tc()-kj(a.pb)-OI(this.v,a),-1==d.q&&(d.q=e),d=this.c,-1==d.r&&(d.r=this.b.Vc()),d=this.c,-1==d.o&&(d.o=this.b.Uc())),II(this,a))};_.b=null;_.c=null;function uJ(){this.f=!1}
t(621,619,{136:1,139:1},uJ);function kJ(a){var b,c,d,e;null==a.b&&(a.b=v(G,r,-1,4,1),e=In(zt(zt(a.d,0),0)),c=In(zt(zt(a.d,2),2)),d=EH(a.pb),b=tE(a.pb),a.b[0]=(e.offsetHeight||0)+b[0]+d[0],a.b[1]=(c.offsetWidth||0)+b[1]+d[1],a.b[2]=(c.offsetHeight||0)+b[2]+d[2],a.b[3]=(e.offsetWidth||0)+b[3]+d[3]);return a.b}function wJ(a,b){a.kb&&gj(a);return vu(a,b)}function xJ(){Xu();Nu.call(this,Yu)}t(622,283,{46:1,48:1,57:1,62:1,69:1,70:1,72:1,80:1,82:1,138:1},xJ);_.hd=function(a){return wJ(this,a)};_.b=null;
function yJ(a){var b;b=a.ob;return y(b,138)?b:a}function Op(a){if(!a.kb)return new IH;if(-1==a.k.c||-1==a.k.b)a.k=a.e.nf(a),Qp(a,a.k),a.e.mf(a),a.k=a.e.nf(a);return a.k}function cE(a){return y(a,138)?a.jb:a}function zJ(a){var b;if(!a.o){b=(!RH&&(RH=new QH),RH);var c=AJ(a,kb,!0);b.b=c;c=AJ(a,lb,!0);b.c=c;a.o=b}return a.o}
function bE(a,b,c,d,e){if(y(b,62))throw new Zj("Adding a DecoratorPanel is not allowed!");var f;f=b.nb;null!=f&&y(f,139)&&f.f?(c=new xJ,iu(a,c,a.pb,d,!0),wu(c,b)):iu(a,b,c,d,e);dE(a,b)}function QE(a,b,c,d){b.nb=c;bE(a,b,a.pb,d,!0)}
function dE(a,b){var c;c=a.e;if(b){var d=c.k;li(d.d,b);li(d.f,b);li(d.c,b);li(d.b,b);li(d.e,b)}else d=c.k,Rw(d.d),Rw(d.f),Rw(d.c),Rw(d.b),Rw(d.e);c.n=!1;if(!a.d){a.d=!0;c=a.k;c.c=-1;c.b=-1;c=a.ob;if(c==yJ(a))c=c.ob;else{if(y(c,131)||y(c,61))d=c,c=c.ob,c==yJ(d)&&(c=c.ob);y(c,138)&&y(c.ob,130)&&(c=c.ob)}y(c,137)&&!y(c,130)&&(c.df(a.ob),c.df(a))}}
function Sp(a){if(a.kb&&a.pb.style.display!=Af){a.pb.scrollTop=0;var b=a.pb,c=0;!Mn()&&b.ownerDocument.defaultView.getComputedStyle(b,null).direction==eg&&(c+=(b.scrollWidth||0)-b.clientWidth);b.scrollLeft=c;a.e.mf(a);a.d=!1;cJ(a)}}function cJ(a){var b,c,d;c=a.q.d;for(d=0;d<c;++d)b=cE(ix(a.q,d)),y(b,138)&&(b=b.jb),b.Xc()&&(y(b,137)?b.ef():y(b,75)&&b.yd())}function eE(a,b){var c;y(b,138)&&(b=y(b,138)?b.jb:b);c=yJ(b);return pu(a,c)?(y(c,138)&&wJ(c,b),dE(a,null),!0):!1}
function UH(a,b){var c;a.e=b;null!=a.f&&wi(a,Ot(a.pb)+Fa+a.f);a.f=b.cZ.e;c=rx(a.f,An(46));a.f=a.f.substr(c+1,a.f.length-(c+1));xi(a,Ot(a.pb)+Fa+a.f);dE(a,null)}function AJ(a,b,c){a.n||(a.n=$doc.createElement(ng),GH(a.n,Mf,fd),GH(a.n,Og,Ke),GH(a.n,Se,hb),GH(a.n,Cg,hb),a.pb.appendChild(a.n));GH(a.n,Rg,b);GH(a.n,Je,b);a=DH(a.n);return c?a.c:a.b}
function eJ(a,b){var c;c=null.of();if(c==(Si(),Yo)){c=(zJ(a),null.of());var d=(-1==PH&&(PH=(AH(),$D(nb,!0))),PH);return K(I(Math.round(100*d*c/254)))}if(c==Oo)return c=zJ(a),d=null.of(),K(I(mC(d*(-1==c.b&&(c.b=$D(kb,!0)),c.b))));if(c==Qo)return c=zJ(a),d=null.of(),K(I(mC(d*(-1==c.c&&(c.c=$D(lb,!0)),c.b))));if(c==Wo)return c=(zJ(a),null.of()),d=(-1==PH&&(PH=(AH(),$D(nb,!0))),PH),K(I(Math.round(d*c)));if(c==$o)return c=(zJ(a),null.of()),d=(-1==PH&&(PH=(AH(),$D(nb,!0))),PH),K(I(Math.round(10*d*c/254)));
if(c==Uo)return K(I(mC(12*(zJ(a),null.of())*K(I(mC((-1==PH&&(PH=(AH(),$D(nb,!0))),PH)/72))))));if(c==Mo)return AJ(a,null.of(),b);if(c==So)return c=(zJ(a),K(I(mC(null.of())))),d=(-1==PH&&(PH=(AH(),$D(nb,!0))),PH),K(I(Math.round(d*c/72)));if(null.of()==Ko)return K(I(mC(null.of())));throw new Zj("Invalid size: "+null.of());}function FE(){var a=new vJ;su.call(this);this.k=new Lp(-1,-1);new BJ(this);this.pb[Dd]="mosaic-LayoutPanel";UH(this,a)}
t(623,273,{46:1,48:1,57:1,69:1,70:1,72:1,75:1,80:1,82:1,137:1},FE);_.md=function(a){bE(this,a,this.pb,this.q.d,!0)};_.ad=function(){cu(this,new JJ)};_.bd=function(){cu(this,new KJ)};_.cf=function(){return Op(this)};_.jd=function(a){return lu(this.q,yJ(a))};_.kd=function(a,b,c,d){bE(this,a,b,c,d)};_.df=function(a){dE(this,a)};_.ld=function(){return new $t(this)};_.ef=function(){Sp(this)};
_.fd=function(){var a;if(this.c){if(null!=this.j&&null!=this.i)a=this.i,this._c(this.j),this.Zc(a),this.j=this.i=null;else if(a=Op(this),null!=this.j)a=a.b+Qf,this._c(this.j),this.Zc(a),this.j=null;else if(null!=this.i){var b=this.i;this._c(a.c+Qf);this.Zc(b);this.i=null}else b=a.b+Qf,this._c(a.c+Qf),this.Zc(b);Sp(this)}};_.yd=function(){Sp(this)};_.hd=function(a){return eE(this,a)};_.Zc=function(a){this.pb.style[Je]=a;this.kb||(this.i=a)};_.nd=function(a,b,c){a=yJ(a);ou(this,a);this.od(a,b,c)};
_._c=function(a){this.pb.style[Rg]=a;this.kb||(this.j=a)};_.b=!1;_.c=!1;_.d=!0;_.e=null;_.f=null;_.i=null;_.j=null;_.n=null;_.o=null;_.p=4;function JJ(){}t(624,1,{},JJ);_.wd=function(a){yJ(a).dd()};function KJ(){}t(625,1,{},KJ);_.wd=function(a){yJ(a).ed()};function $t(a){this.c=a;this.b=new nu(this.c.q)}t(626,1,{},$t);_.Lc=function(){return this.b.b<this.b.c.d-1};_.Mc=function(){return cE(au(this.b))};_.Nc=function(){bu(this.b)};_.c=null;function LJ(){LJ=u;new Cv}
function BJ(a){LJ();ei(a.pb,"dragdrop-dropTarget",!0);this.b=a;new MJ(this)}t(627,9,{},BJ);function MJ(a){Rj();this.b=a}t(628,26,{},MJ);_.rc=function(){dE(this.b.b,null);Sp(this.b.b)};_.b=null;function tI(a){a=a.ob;return!a?null:y(a,137)?a:tI(a)}function yE(a,b,c){var d;d=a.pb;LI(a,b,c,EH(d),tE(d),FH(d))}
function LI(a,b,c,d,e,f){var g;0<=b&&(b-=d[1]+d[3],g=b-(e[1]+e[3]+f[1]+f[3]),a._c((0>g?0:g)+(Si(),Qf)),b!=a.Vc()&&a._c((0>b?0:b)+Qf));0<=c&&(c-=d[0]+d[2],b=c-(e[0]+e[2]+f[0]+f[2]),a.Zc((0>b?0:b)+(Si(),Qf)),c!=a.Uc()&&a.Zc((0>c?0:c)+Qf))}function Qp(a,b){yE(a,b.c,b.b)}function KI(a,b,c,d){b=yJ(b);ou(a,b);a.od(b,c,d)}t(631,1,{});
function OB(){var a,b,c,d;d=pC("JavaScriptApplet.JSME","\\.");c=$wnd;a=0;for(b=d.length-1;a<b;++a)C(d[a],"client")||(c[d[a]]||(c[d[a]]={}),c=null!=c?c[d[a]]:null);return null!=c?c[d[a]]:null}function NJ(){this.b=new ai;new ai;new ai}t(630,631,{},NJ);function NB(){NB=u;OJ=new NJ}function SB(){var a=PB,b=$wnd.JavaScriptApplet.JSME;NB();x(OJ.b,a,b)}var OJ;
function Mj(a){return function(){try{var b;var c=arguments,d;var e;0!=ln&&(e=Dj(),2E3<e-nn&&(nn=e,mn=kn()));if(0==ln++){var f=(on(),pn),g,h;if(f.c){h=null;do g=f.c,f.c=null,h=xn(g,h);while(f.c);f.c=h}d=!0}else d=!1;try{b=a.apply(this,c)}finally{if(c=d){var i=(on(),pn),l,m;if(i.d){m=null;do l=i.d,i.d=null,m=xn(l,m);while(i.d);i.d=m}}--ln;c&&-1!=mn&&($wnd.clearTimeout(mn),mn=-1)}return b}catch(n){throw n;}}}
function gwtOnLoad(a,b,c){$moduleName=b;$moduleBase=c;if(a)try{Mj(rr)()}catch(d){a(b)}else Mj(rr)()}var QB=W(1),fn=W(102),PJ=dC(" I"),G=ZB(638,PJ),sz=ZB(636,QB),QJ=dC(" Z"),DG=ZB(639,QJ);W(101);W(100);W(99);var RJ=W(450),Um=ZB(640,RJ),SJ=W(226),Tr=ZB(641,SJ);W(227);W(138);var TJ=dC(" B");W(441);var UJ=dC(" C"),Wh=ZB(642,UJ);W(439);var VJ=dC(" D"),dD=ZB(643,VJ);W(440);var WJ=W(444),lC=ZB(644,WJ),XJ=dC(" J"),YJ=W(2),tr=ZB(637,YJ),zH=ZB(645,TJ);W(453);W(437);W(98);W(171);W(106);W(433);var PB=W(431);
W(436);W(115);W(116);W(96);W(108);W(109);W(110);W(447);W(442);W(432);W(631);W(630);var RB=cC(),gz=W(378),uF=ZB(646,gz),ZJ=W(542),mG=ZB(647,ZJ),$J=W(367);W(366);W(365);W(364);W(538);var kr=ZB(648,G),aK=X(540,function(){QD();return qG}),rG=ZB(649,aK);W(541);W(387);W(386);W(534);W(533);W(543);W(544);W(539);W(416);W(537);var Jy=ZB(650,$J);W(376);W(546);W(182);W(181);W(260);W(207);W(262);W(190);var bK=W(189);W(210);W(209);W(208);W(361);W(362);W(363);W(277);var cK=W(276);W(275);W(281);W(295);W(484);W(485);
W(486);W(487);W(488);W(337);W(428);W(427);W(457);W(459);W(458);W(460);W(462);W(461);W(463);W(467);W(468);W(274);W(273);W(333);W(336);W(334);W(335);W(213);W(212);W(286);W(287);W(288);W(403);W(402);var bA=W(401),KF=ZB(651,bA),HG=ZB(652,XJ);W(392);W(388);W(497);W(464);W(470);W(465);W(466);W(426);W(476);var dK=X(216,function(){$q();return er}),fr=ZB(653,dK);W(456);W(406);W(407);W(394);var Nz=W(389);W(374);W(375);W(399);var Yz=W(398);W(391);W(390);W(474);W(483);W(381);var lz=W(380);W(430);W(535);W(536);
W(545);W(397);W(396);W(395);W(400);W(404);W(405);W(449);W(369);W(368);W(413);cC();cC();cC();cC();W(370);W(500);W(499);W(180);W(187);W(188);W(348);var jx=ZB(654,cK);W(349);W(384);W(385);var tz=W(383);W(429);W(377);W(480);W(452);W(202);W(256);W(415);
var eK=X(159,function(){Si();return bp}),cp=ZB(655,eK),fK=X(137,function(){Ti();return ao}),bo=ZB(656,fK),gK=X(144,function(){co();return mo}),no=ZB(657,gK),hK=X(149,function(){oo();return xo}),yo=ZB(658,hK),iK=X(154,function(){zo();return Io}),Jo=ZB(659,iK);X(160,null);X(161,null);X(162,null);X(163,null);X(164,null);X(165,null);X(166,null);X(167,null);X(168,null);X(139,null);X(140,null);X(141,null);X(142,null);X(143,null);X(145,null);X(146,null);X(147,null);X(148,null);X(150,null);X(151,null);
X(152,null);X(153,null);X(155,null);X(156,null);X(157,null);X(158,null);W(186);W(185);W(196);W(197);W(199);W(194);W(193);W(195);var vz=W(494);W(379);W(502);W(507);W(414);W(443);W(417);var Ly=W(373),Ky=ZB(660,lz);W(372);W(371);W(550);W(495);W(491);W(492);W(200);W(211);W(300);W(299);W(305);W(306);W(469);W(477);W(478);W(479);W(501);W(503);var Oz=W(393);W(481);W(506);W(280);W(279);W(278);W(514);W(513);W(525);W(511);W(523);W(524);var jK=X(594,function(){Ip();return FI}),GI=ZB(661,jK);W(593);W(592);W(584);
W(26);W(585);W(586);W(587);W(588);W(589);W(590);W(591);W(565);var kK=X(282,function(){Ou();return Vu}),Wu=ZB(662,kK),lK=X(329,function(){Ju();return Cw}),Dw=ZB(663,lK);W(17);W(330);W(331);W(326);W(327);W(328);W(18);W(19);W(20);W(258);W(291);W(290);var mK=W(289);W(504);W(505);W(510);W(526);W(412);W(382);W(508);W(509);W(292);W(308);W(307);W(294);W(184);W(313);W(340);W(339);W(341);var nK=X(342,function(){Uw();return ex}),fx=ZB(664,nK);X(343,null);X(344,null);X(345,null);X(346,null);W(214);W(496);W(581);
W(317);W(582);W(318);W(319);W(320);W(321);W(324);W(204);W(183);W(325);W(473);W(357);W(284);W(623);W(624);W(625);W(626);var JH=W(552);W(309);W(311);W(310);W(312);W(285);W(293);W(561);W(560);W(563);W(567);W(3);W(570);W(571);W(569);W(568);W(203);var NH=W(554);W(205);W(283);W(622);W(247);W(250);W(248);W(249);W(579);W(578);W(240);W(242);W(241);W(422);W(421);W(423);W(29);W(30);W(28);W(31);W(34);W(35);W(36);W(37);W(38);W(39);var oK=W(51),rw=ZB(665,oK);W(40);W(41);W(42);W(43);W(44);W(45);W(46);W(48);W(47);
W(49);W(50);W(52);W(53);W(55);W(56);W(54);W(57);W(58);W(59);W(60);W(62);W(64);W(65);W(63);W(61);W(66);W(67);W(68);W(69);W(71);W(74);W(73);W(75);W(78);W(79);W(77);W(80);W(81);W(82);W(83);W(84);W(85);W(87);W(88);W(86);W(89);W(90);W(91);W(92);W(94);W(95);W(93);W(5);W(7);W(6);W(424);var tA=W(409),vA=ZB(666,tA);W(410);W(408);W(580);W(269);W(271);W(270);W(352);W(547);W(179);W(425);W(411);var OH=W(555);W(564);W(583);W(619);W(618);W(191);W(206);W(198);W(236);W(493);W(435);W(454);W(517);W(418);W(419);W(231);
W(4);W(598);W(615);var pK=X(616,function(){iJ();return oJ}),pJ=ZB(667,pK),qK=X(617,function(){ZH();return rJ}),sJ=ZB(668,qK);W(601);W(610);W(609);W(613);W(612);W(608);W(607);W(605);W(606);W(604);W(603);W(600);W(602);W(611);W(614);W(599);W(238);W(33);W(243);W(314);W(315);W(316);W(244);var yI=ZB(669,bK);W(245);W(532);W(512);var WE=ZB(670,mK);W(518);W(522);W(515);W(516);W(519);W(520);W(620);W(297);W(296);W(302);W(303);W(301);W(246);W(232);W(32);W(70);W(566);W(267);W(268);W(351);W(233);W(11);W(14);W(621);
W(8);W(10);W(9);W(627);W(628);W(21);W(298);W(347);W(338);W(235);W(24);var rK=W(27),bk=ZB(671,rK);W(25);W(22);W(23);W(572);W(575);W(576);W(577);W(573);W(574);var LH=W(553);W(557);W(558);W(192);window.gwtOnLoad=gwtOnLoad;$stats && $stats({moduleName:'jsme',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalEnd'});if ($wnd.jsme) $wnd.jsme.onScriptLoad();
--></script></body></html>